Article View: demon.ip.developers
Article #1425Re: KA9Q: Comments in autoexec.net
From: Mark Rogers
Date: Thu, 16 Nov 1995 00:00
Date: Thu, 16 Nov 1995 00:00
30 lines
1944 bytes
1944 bytes
In article <816378620snz@wash.demon.co.uk>
John Washington <john@wash.demon.co.uk> writes:
>
> Make a file x.bat (I suppose a Win95 user might call it
> modify_my_autoexec_net.bat) something like:
>
> edit autoex.bat
> prepro <autoex.bat >autoexec.bat
If I had a penny for every time I've said "autoexec.bat" instead of
"autoexec.net" I'd have, oh, about 2p :-)
This does have advantages that DIS.EXE can't touch autoexec.net (or at
least it can, but you can restore it easily enough). Coincidentally it
also has the disadvantage that any changes DIS.EXE makes to autoexec.net
get lost unless you also copy them into your own version :-)
However, this all gets away from my original intention. I believe that a
lot of the configuration files would benefit from being better self-
documented. There's no reason for the files to be user-unfriendly -
indeed, they're already better than most in this respect. Improving the
way that comments can be entered would enhance this further.
(The same applies equally to files like demon.bat; unfortunately I doubt
that MicroSoft are likely to add end-of-line commenting to DOS :-()
Mark.
--
int MeaningOfLife (void) { return 42; } // mcr@holly.demon.co.uk
function MeaningOfLife :integer; begin MeaningOfLife := 6 * 9 end;
Technical Details
Message-ID:
<816505999snx@holly.demon.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<815947544snx@holly.demon.co.uk> <815944750snz@microvst.demon.co.uk> <815949662.17979@thokk.demon.co.uk> <815959624snz@wash.demon.co.uk> <816330614snx@holly.demon.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10bb05,c75acd0305807902 X-Google-Attributes: gid10bb05,public From: Mark Rogers <mcr@holly.demon.co.uk> Subject: Re: KA9Q: Comments in autoexec.net Date: 1995/11/16 Message-ID: <816505999snx@holly.demon.co.uk> X-Deja-AN: 119443869 x-nntp-posting-host: holly.demon.co.uk references: <815947544snx@holly.demon.co.uk> <815944750snz@microvst.demon.co.uk> <815949662.17979@thokk.demon.co.uk> <815959624snz@wash.demon.co.uk> <816330614snx@holly.demon.co.uk> organization: Unn Ltd. newsgroups: demon.ip.developers x-mailer: cppnews $Revision: 1.43 $