[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OT: L95 .BAT won't IF ERRORLEVEL ?!




  This relates to Linux in that I'm trying to set up a batch program to
select what to boot in L95 autoexec.bat, among others Linux with loadlin.

  I've set up a small menu with @echo, and choice, and I want to use the
IF ERRORLEVEL X THEN GOTO Here incantation. I get 'bad command or file
name' for each one of these. I've tried boot (rescue) floppies's
command.com, same result. Then, I tried to get help on command.com. None. 
So I read it with a hex editor, and, o joy, the help file is inside it
(that's why it's 90+k ?! the previous DOS version had ~60k command.com),
in text, and documents IF... as I used it. So WHAT is up ? 

  Can someone please indicate a menu program on Simtel or whatever, that
can do this instead ? It has to be small as it may have to load from
floppy.

thanks,

	Peter