Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!cg-atla!fredex From: fredex@cg-atla.agfa.com (Fred Smith) Newsgroups: comp.sys.ibm.pc.programmer Subject: Re: How to comment out lines in config.sys ? Message-ID: <8479@cg-atla.agfa.com> Date: 17 Mar 90 02:40:53 GMT Reply-To: fredex@cg-atla.UUCP (Fred Smith) Distribution: usa Organization: Agfa Compugraphic Division Lines: 15 >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 ? As others have said there is not comment implemented for config.sys files in version of DOS older than 4.01. However, just putting a REM at the beginning of the line works just fine, if you can tolerate the resulting error message. DOS just skips the "invalid" command and proceeds to the next one. I have used this method for years to have commands in my config.sys that I sometimes want to use, so that I don't hve to REMEMBER them when those rare occasions arise. Fred