mlord@bwdls58.bnr.ca (Mark Lord) (11/30/90)
In article <2s7cT1w163w@wvus.wciu.edu> pete@wvus.wciu.edu (Pete Gregory) writes: >Hi, netters! A quick question: > >Is there a way to put comment lines in config.sys? This was discussed a short while ago. Here's how to do it: IF you have DOS 4.00/4.01, simply use REM in front of the comment, the same way as in *.BAT files. Ie. BUFFERS=20 REM must be at least 17 for tape drive DEVICE=QEMM.SYS RAM ROM EXCLUDE=E800 REM leave hole for network adaptor SHELL=4dos.com IF you have DOS 3.xx, simply put SHELL= infont of the comment, ensuring that the TRUE SHELL= line is at the bottom of the file. DOS does not execute this line until all others are processed, and it only remembers the LAST such SHELL= line from the file. Ie. BUFFERS=20 SHELL= must be at least 17 for tape drive DEVICE=QEMM.SYS RAM ROM EXCLUDE=E800 SHELL= leave hole for network adaptor SHELL=4dos.com -- ___Mark S. Lord__________________________________________ | ..uunet!bnrgate!mlord%bmerh724 | Climb Free Or Die (NH) | | MLORD@BNR.CA Ottawa, Ontario | Personal views only. | |________________________________|________________________|
stever@Octopus.COM (Steve Resnick ) (11/30/90)
In article <2s7cT1w163w@wvus.wciu.edu> pete@wvus.wciu.edu (Pete Gregory) writes: >Hi, netters! A quick question: > >Is there a way to put comment lines in config.sys? > >Ignorant minds want to know... > DOS 2.0 - 3.3 didn't have a comment character or keyword for config.sys. This doesn't mean you can't get comments, you just get complaints about 'em. I frequently need to switch back and forth between using QEMM and TDH386 drivers. Rather than keep to config.sys files, I just "comment" them out using a ": " the the start of the line. This is under DOS 3.3. Under DOS 4 you can place REM blah blah blah statements in config.sys with no error messages. Hope this helps.... Steve -- ---------------------------------------------------------------------------- steve.resnick@f105.n143.z1.FIDONET.ORG - or - apple!camphq!105!steve.resnick Flames, grammar errors, spelling errrors >/dev/nul The Asylum OS/2 BBS - (408)263-8017 IFNA 1:143/105.0
student0@hpcc01.HP.COM (Student Zero) (11/30/90)
In dos 4.00 and up you can use " REM this is a comment ". in earlier versions you can still use the REM but it will complain that it is not a legal command, but it doesn't hurt anything. Scott Ingraham
jaswal@sunb1.cs.uiuc.edu (11/30/90)
'REM comment ' works in Dos 4 and I believe only in Dos 4. vsj
curci@ds1.scri.fsu.edu (Raymond Curci) (11/30/90)
In article <2s7cT1w163w@wvus.wciu.edu> pete@wvus.wciu.edu (Pete Gregory) writes: >Hi, netters! A quick question: >Is there a way to put comment lines in config.sys? >Ignorant minds want to know... Beginning with MS-DOS v4.0, you can place comments in CONFIG.SYS by beginning lines with the letters "REM" (just like in .BAT files) Raymond Curci curci@mailer.scri.fsu.edu Florida State University Institute of Molecular Biophysics -- Raymond Curci INTERNET: curci@mailer.scri.fsu.edu Systems Engineer UUCP: ...!uunet!mailer.scri.fsu.edu!curci Institute of Molecular Biophysics SPAN: 46453::curci -or- SCRI1::curci Florida State University BITNET: curci@fsu.bitnet
amichiel@rodan.acs.syr.edu (Allen J Michielsen) (12/01/90)
In article <1517@sun13.scri.fsu.edu> curci@ds1.scri.fsu.edu (Raymond Curci) >In article <2s7cT1w163w@wvus.wciu.edu> pete@wvus.wciu.edu (Pete Gregory) >>Is there a way to put comment lines in config.sys? > >Beginning with MS-DOS v4.0, you can place comments in CONFIG.SYS by >beginning lines with the letters "REM" (just like in .BAT files) I seem to clearly recall that starting with dos version 2.10, it is possible to put remarks into a config.sys file. It was documented in PC magazine, as well as several PD software programs that make use of this feature. It MAY be in one of the advanced norton bibles (or similiar). I don't remember EXACTLY, but think it involves a line starting with a control character, like control-X or so. al -- Al. Michielsen, Mechanical & Aerospace Engineering, Syracuse University InterNet: amichiel@rodan.acs.syr.edu amichiel@sunrise.acs.syr.edu Bitnet: AMICHIEL@SUNRISE
cgordon@vpnet.chi.il.us (Crash Gordon) (12/03/90)
>Author: [Pete Gregory] >Is there a way to put comment lines in config.sys? >Author: [Steve Resnick ] >drivers. Rather than keep to config.sys files, I just "comment" them out >using a ": " the the start of the line. This is under DOS 3.3. Under DOS 4 >you can place REM blah blah blah statements in config.sys with no error I just use "REM blah blah blah" and let DOS complain. If I ever upgrade to some flavor of DOS that supports REMarks, I don't have to change my CONFIG.SYS. (Well, I'll probably have to change it for some _other_ reason.) ----------------------------------------------------- Gordon S. Hlavenka cgordon@vpnet.chi.il.us Disclaimer: Yeah, I said it. So what?
poffen@sj.ate.slb.com (Russ Poffenberger) (12/04/90)
In article <69400004@sunb1> jaswal@sunb1.cs.uiuc.edu writes: > >'REM comment ' works in Dos 4 and I believe only in Dos 4. > You CAN use this in DOS 3.3, if you don't mind getting a "Unrecognized command in config.sys" message. Russ Poffenberger DOMAIN: poffen@sj.ate.slb.com Schlumberger Technologies UUCP: {uunet,decwrl,amdahl}!sjsca4!poffen 1601 Technology Drive CIS: 72401,276 San Jose, Ca. 95110 (408)437-5254
bright@nazgul.UUCP (Walter Bright) (12/04/90)
In article <2s7cT1w163w@wvus.wciu.edu> pete@wvus.wciu.edu (Pete Gregory) writes:
/Is there a way to put comment lines in config.sys?
What I do is use REM statements, and then ignore the (benign) error messages
from DOS.
valley@uchicago (Doug Dougherty) (12/05/90)
poffen@sj.ate.slb.com (Russ Poffenberger) writes: >In article <69400004@sunb1> jaswal@sunb1.cs.uiuc.edu writes: >> >>'REM comment ' works in Dos 4 and I believe only in Dos 4. >> >You CAN use this in DOS 3.3, if you don't mind getting a "Unrecognized command >in config.sys" message. Of course you can (Most people just use a "*"), but that just begs the question. I think the SHELL= suggestion is the best...
shef@ipla01.hac.com (Ian B. Shef) (12/05/90)
To put comments in my config.sys file, I use: break=off *** This is a comment. break=off *** This is another comment. Something of a kludge, but it works for me. Note 1: You can use break=on if you prefer. Note 2: The asterisks are not required; they just help to set off the comments. The only requirement is that "off" or "on" be followed by at least one space. -- Ian Shef Internet: shef@ipla01.hac.com [128.152.40.86] Hughes Aircraft Co. 268/W62 uucp: ...!usc!hacgate!ipla01!shef (maybe?) 8433 Fallbrook Avenue phone: 818-702-4365 Canoga Park, CA 91304-0445 Any opinions expressed are author's own.