🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.programmer
Article #1547

Re: How to comment out lines in config.sys ?

#1547
From: Dave Tutelman
Date: Sat, 10 Mar 1990 13:30
30 lines
2077 bytes
In article <1990Mar8.231513.24361@Octopus.COM> stever@octopus.UUCP (Steve Resnick ) writes:
>In article <5793@ncrcae.Columbia.NCR.COM> heath@ncrcae.Columbia.NCR.COM (Robert Heath) writes:
>>How do you comment out lines in config.sys without getting warning messages
>>from DOS as it attempts to read them ?
>
>There is no way to cleanly do this as far as I know, but you can place colons
>(:) infront of unwanted commands in config.sys if you don't mind the
>"Unrecognized command in CONFIG.SYS" messages....

I was about to respond with an answer like Steve's (i.e.- can't be done),
when I spotted an article on a "null driver" that gave me an idea.
(PC Magazine, V9#2, 1/30/90, p. 307, letter from Jefrrey J. Hamilton.)
This is a driver that installs and does nothing.  Jeff suggests naming
it for things you want temporarily out, without having to change the
config file.  But it can also be used to solve Robert's problem...

Name the null driver REM.  Since it ignores all arguments, you can put
in your CONFIG.SYS file lines like:

device=REM This line is a comment.

Haven't tried it, but it ought to work.  The program is small enough to
be entered from the debugger (that's how Jeff shows it).

+---------------------------------------------------------------+
|    Dave Tutelman						|
|    Physical - AT&T Bell Labs  -  Lincroft, NJ			|
|    Logical -  ...att!pegasus!dmt				|
|    Audible -  (201) 576 2194					|
+---------------------------------------------------------------+
Technical Details
Message-ID: <4517@pegasus.ATT.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!umich!yale!cs.utexas.edu!tut.cis.ohio-state.edu!att!dptg!pegasus!dmt
References: <5793@ncrcae.Columbia.NCR.COM> <1990Mar8.231513.24361@Octopus.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!umich!yale!cs.utexas.edu!tut.cis.ohio-state.edu!att!dptg!pegasus!dmt
From: dmt@pegasus.ATT.COM (Dave Tutelman)
Newsgroups: comp.sys.ibm.pc.programmer
Subject: Re: How to comment out lines in config.sys ?
Summary: There IS a way...
Message-ID: <4517@pegasus.ATT.COM>
Date: 10 Mar 90 13:30:25 GMT
References: <5793@ncrcae.Columbia.NCR.COM> <1990Mar8.231513.24361@Octopus.COM>
Reply-To: dmt@pegasus.ATT.COM (Dave Tutelman)
Distribution: usa
Organization: AT&T Bell Labs - Lincroft, NJ
Lines: 30