I'm trying to make a universal network boot disk which is based off of the XP MS-DOS Startup disk (see http://www.netbootdisk.com/
). The problem is that the ERRORLEVEL variable is never set when using this bootdisk (which I need for testing in a batch file).
- Open up command.com (or cmd.com) in XP.
- type in "dir"
- type in "echo %errorlevel%"
This should output the number 0 (saying that the dir command had no error's of course).
Now do the same thing using the boot disk created with XP (right click floppy drive, select Format, select "Create and MS-DOS startup disk.").
All this outputs is "ECHO is on" - the same thing if you just typed in "echo."
Does anyone have any ideas? Thanks!