home *** CD-ROM | disk | FTP | other *** search
/ Tools en Utilities / CDASS_5.ISO / shell / menus / dosutl.arj / FMT.BAT < prev    next >
Encoding:
DOS Batch File  |  1992-10-31  |  301 b   |  17 lines

  1. @echo off
  2. if "%1"=="x" goto noformcmd
  3. if "%1"=="X" goto noformcmd
  4. format %1 %FORMCMD% %2 %3 %4 %5 %6 %7 %8 %9
  5. if errorlevel 1 goto error
  6. goto end
  7. :noformcmd
  8. shift
  9. format %1 %2 %3 %4 %5 %6 %7 %8 %9
  10. if errorlevel 1 goto error
  11. goto end
  12. :error
  13. echo The disk could not be formatted!
  14. :end
  15.  
  16.  
  17.