[comp.os.msdos.programmer] Unrecognized command in CONFIG.SYS

imcornish@waikato.ac.nz (04/22/91)

In article <1991Apr21.233301.18553@src.honeywell.com>, gcary@SRC.Honeywell.COM (Greg Cary) writes:
> Is there a way to put remarks in a config.sys file?
> I know that in a batch file you can either use "rem" or use the
> label identifier ":" as an alternative to "rem".

In DOS 4.01 (but not, I think, in DOS 3.xx) REM can be used freely in 
CONFIG.SYS just like a batch file.  I use it regularly to 'switch off'
lines I might want to reinclude later.  I presume DOS 3.xx is being used,
in which case upgrade to DOS 4.01 - I like it, and feel the adverse publicity
it has received (re memory hit) is exaggerated.

Hope this of some use.

Ian Cornish,
Department of Education,
University of Waikato,
Hamilton,
New Zealand

[I haven't designed me a logo yet - sorry!]

ccsmd@ufhx1.ufh.ac.za (M. Daniel) (04/23/91)

In <1991Apr21.233301.18553@src.honeywell.com> gcary@SRC.Honeywell.COM (Greg Cary) writes:

>If I do need to go the device driver route, would someone please tell
>me how to assemble the comment.asm file down to comment.sys using
>Borland TASM?  I'll gladly send a copy of the device driver w/source
>to anybody that wants it.

Three steps:
	1. Assemble it using:  TASM comment[.asm]
	2. Link it using: TLINK comment[.obj]
	   (You might get a "Warning: no stack".  Ignore.)
	3. Use EXE2BIN to convert to device driver:
		EXE2BIN comment.exe comment.sys
-- 

===============================================================================
|    M. Daniel,  Computer Center,  University of Fort Hare,  Alice,  Ciskei.  |
|    Internet:  ccsmd@ufhx1.ufh.ac.za   -+-   uucp: ..!m2xenix!ufhx1!ccsmd    |

tcs@mailer.jhuapl.edu (Carl Schelin) (04/23/91)

In article <1991Apr21.233301.18553@src.honeywell.com>, gcary@SRC.Honeywell.COM (Greg Cary) says:
>
>Is there a way to put remarks in a config.sys file?
>I know that in a batch file you can either use "rem" or use the
>label identifier ":" as an alternative to "rem".
>
..

One thing I noticed was that placing a ':' before a device=... line also causes
the next line to be ignored. This happened when I was installing FTP on a 
system and placed a ':' rather than the usual "rem " or '*'. I think it was using
MS-Dos 3.3 but I'm not sure.

Carl Schelin
tcs@mailer.jhuapl.edu