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

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



On Sun, 12 Jul 1998, Peter L. Peres wrote:


As i remeber, syntax is IF ERRORLEVEL X  GOTO. No THEN.
:
: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
:
:
:

.---..-._.-..---..---. || Omer Mussaev <omer@cs.bgu.ac.il> 051308214
| | || \./ || ==:| |-< || ------------------------------------------|
`---'`-' `-'`---'`-'`/ ||  CS system/network staff  
Life is sequential.  \/||  Ben Gurion University of Negev, Israel
KeyID: 3B70859D Fingerprint: B4 77 9C 85 8F 6A 03 D4  CB BD 61 50 D4 58 29 0A