[autoexec.bat]
CALL %DRV%\RECOVER.BAT
[recover.bat]
REM Check to see if this is running from Service Partition
SET REC1=/P:%DRV%\RECOVERY
IF %DRV%==C: SET REC1=/SP
IF %DRV%==c: SET REC1=/SP
SET PATH=%PATH%;%DRV%\RECOVERY
:START
IF EXIST %DRV%\RECOVERY\RECOVER.EXE %DRV%\RECOVERY\RECOVER.EXE %REC1%
IF ERRORLEVEL 2529 GOTO CFGSAFE
IF ERRORLEVEL 2528 GOTO PCR_REST
IF ERRORLEVEL 2527 GOTO DIAGDISK
IF ERRORLEVEL 2525 GOTO DIAG
IF ERRORLEVEL 2524 GOTO RRDISK
IF ERRORLEVEL 2523 GOTO SYSINFO
GOTO DONE
:SYSINFO
IF EXIST %DRV%\SYSINFO.BAT CALL %DRV%\SYSINFO.BAT
GOTO START
IAG
IF EXIST %DRV%\DIAG.BAT CALL %DRV%\DIAG.BAT
GOTO START
:RRDISK
IF EXIST %DRV%\RRDISK.BAT CALL %DRV%\RRDISK.BAT
GOTO START
IAGDISK
IF EXIST %DRV%\DIAGDISK.BAT CALL %DRV%\DIAGDISK.BAT
GOTO START
CR_REST
IF EXIST %DRV%\PCR_REST.BAT CALL %DRV%\PCR_REST.BAT
GOTO START
:CFGSAFE
IF EXIST %DRV%\CFGSAFE.BAT CALL %DRV%\CFGSAFE.BAT
GOTO START |