home *** CD-ROM | disk | FTP | other *** search
- @echo off
- if not exist %1 goto oops
- if not "%2" == "02" if not "%2" == "01" if not "%2" == "00" goto badstat
- if exist restore.scr del restore.scr
- echo n %1>restore.scr
- echo l>>restore.scr
- echo e 0101>>restore.scr
- echo %2>>restore.scr
- echo w>>restore.scr
- echo q>>restore.scr
- debug <restore.scr >nul
- call pilot.bat %1 %2
- goto end
- :oops
- if not exist %1 echo You must enter a valid Pilot filename!
- goto end
- :badstat
- if "%2" == "" echo You must enter a valid Status Code!
- if not "%2" == "" echo That is not a valid Status Code!
- :end