Салям!

8-Июл-2004 19:52 [EMAIL PROTECTED] (Bernd Blaauw) wrote to
[EMAIL PROTECTED]:

BB> MSDOS uses errlvl 1 for unformatted, and errlvl 12 is OK then.
BB> However, I don't know code to implement it:
BB> If  errorlevel  16 goto skipwipe // don't format
BB> If "%errorlevel%'=="1" format c: // unformatted, msdos
BB> If "%errorlevel%"=="12" format c: // unfortunately also wipes out FAT12

if errorlevel 1  if not errorlevel 2  goto level1
if errorlevel 12 if not errorlevel 13 goto level12
...
:level1
...
goto end
:level12
...




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
_______________________________________________
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to