config.sys:
device=himem.sys /testmem:off
device=oakcdrom.sys /D:mscd001
device=btdosm.sys
device=flashpt.sys
device=btcdrom.sys /D:mscd001
device=aspi2dos.sys
device=aspi8dos.sys
device=aspi4dos.sys
device=aspi8u2.sys
device=aspicd.sys /D:mscd001
[COMMON]
files=10
buffers=10
dos=high,umb
stacks=9,256
autoexe.bat:
@ECHO OFF
path=c:\;c:\ati\;c:\ghost\;c:\NPM8\dos;c:\NTFS4DOS;c:\NTFSPRO\;
LH ctmouse.exe
LH doskey.com
smartdrv.exe
cls
LH MSCDEX.EXE /D:mscd001 /L:%CDROM%
rem welcome
xzl.com
cls
echo ***************************************************
echo This batch file restores the backup file system.img in the hidden partition of the first hard disk
echo to the first partition of the first hard disk.
echo Before restoring the system, please back up the important files under the first partition of the first hard disk (usually drive C)
echo to another partition.
echo If the power goes out during the restore process, you may lose data. After the restore, the
echo first partition of your first hard disk will be overwritten, and the data on it will be lost!!!
echo ddddddd
echo 2009-01-31
echo ***************************************************
rem batch file to start restoring the system
CHOICE /C:YNC /T:c,8 "Enter y to start restoring the system, enter n to exit the batch file. If you enter nothing, the computer will shut down within 8 seconds!"
if errorlevel 3 goto shutdowncomputer
if errorlevel 2 goto exitbatch
if errorlevel 1 goto recoverysys
:recoverysys
ghost.exe @recovery.txt
goto quit
:exitbatch
goto quit
:shutdowncomputer
shutdown -s
goto quit
:QUIT
exit
device=himem.sys /testmem:off
device=oakcdrom.sys /D:mscd001
device=btdosm.sys
device=flashpt.sys
device=btcdrom.sys /D:mscd001
device=aspi2dos.sys
device=aspi8dos.sys
device=aspi4dos.sys
device=aspi8u2.sys
device=aspicd.sys /D:mscd001
[COMMON]
files=10
buffers=10
dos=high,umb
stacks=9,256
autoexe.bat:
@ECHO OFF
path=c:\;c:\ati\;c:\ghost\;c:\NPM8\dos;c:\NTFS4DOS;c:\NTFSPRO\;
LH ctmouse.exe
LH doskey.com
smartdrv.exe
cls
LH MSCDEX.EXE /D:mscd001 /L:%CDROM%
rem welcome
xzl.com
cls
echo ***************************************************
echo This batch file restores the backup file system.img in the hidden partition of the first hard disk
echo to the first partition of the first hard disk.
echo Before restoring the system, please back up the important files under the first partition of the first hard disk (usually drive C)
echo to another partition.
echo If the power goes out during the restore process, you may lose data. After the restore, the
echo first partition of your first hard disk will be overwritten, and the data on it will be lost!!!
echo ddddddd
echo 2009-01-31
echo ***************************************************
rem batch file to start restoring the system
CHOICE /C:YNC /T:c,8 "Enter y to start restoring the system, enter n to exit the batch file. If you enter nothing, the computer will shut down within 8 seconds!"
if errorlevel 3 goto shutdowncomputer
if errorlevel 2 goto exitbatch
if errorlevel 1 goto recoverysys
:recoverysys
ghost.exe @recovery.txt
goto quit
:exitbatch
goto quit
:shutdowncomputer
shutdown -s
goto quit
:QUIT
exit
