Windows XP "MS-DOS Startup Disk" - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Click Here to Login
Closed Thread
Thread Tools Display Modes
Old 08-02-2005, 10:02 AM   #1 (permalink)
Newb Techie
Join Date: Aug 2005
Posts: 1
Question Windows XP "MS-DOS Startup Disk"

I'm trying to make a universal network boot disk which is based off of the XP MS-DOS Startup disk (see 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 (or 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!

WhoAmI is offline  
Old 08-02-2005, 10:30 AM   #2 (permalink)
Master Techie
Join Date: Oct 2003
Posts: 2,258

more likly than not, the dos based command line interputer doen't support %errorlevel% as the environment was never defined. Try creating the error level your self and see if that makes a difference for you.
if all else fails, find a better way to do it...
Inaris is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 04:51 PM.

Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2018, vBulletin Solutions, Inc.