if "%config%"=="WinXP" goto WinXP
if "%config%"=="dos" goto dos
if "%config%"=="Backup" goto Backup
if "%config%"=="WinXP-1" goto WinXP-1
if "%config%"=="WinXP-0" goto WinXP-0
:WinXP
pause
TW /ns
@echo off
echo.
echo To facilitate understanding of the functions of the system recovery program, first start Chinese support
echo You have entered the WinXP menu. (Start WinXP to be normal)
echo The main purpose of this WinXP program is to automatically restore the backup files on the hard disk.
echo All operations will run automatically! Restore to the state of the last backup.
echo .................................................................
echo About to exit the Chinese environment, after which Chinese characters will not be displayed normally
echo The following will automatically pause, press Ctrl+C to interrupt the operation of the recovery program,
echo Press any key to continue, and the computer will automatically restart after the system recovery is complete!
pause
tw/q
prompt $p$g
set tz=gmt-8
set dircmd=/o:n
set comspec=c:\command.com
set path=c:
set temp=c:
set tmp=c:
xmsman
set hdpmi=16384
SMARTDRV.exe >nul
hdpmi32
echo lh ndos -lfn -mountall -cp:936
ghost -clone,mode=pload,src=c:\winxp.gho:1,dst=1:1 -fx -sure -rb
xmsman -c
goto quit
:dos
pause
tw /ns
@echo off
echo.
echo To facilitate understanding of the functions of the backup program, first start Chinese support
echo You have entered the dos menu. (Readme & Return to DOS Command Line)
echo (Active code page) CHCP 936 is Simplified Chinese, CHCP 437 is English
echo. This menu belongs to the manual maintenance interface of the manual and system.
echo Generally, you can read the manual carefully. There are no automatic running programs and it will not affect the system.
echo If manual operation requires technical support, some system software and hardware maintenance tools are built-in. Skilled users please use with caution.
echo ......................................................................
echo First load the cache lh smartdrv.exe
echo ......................................................................
echo.
echo If there are three backup files, first delete the third; note that there is a pause once
echo Rename the second to the third and temporarily keep it;
echo Rename the first to the second to make room for the new backup;
echo Provide a pause opportunity so that you can press ctrl+C to terminate the operation of the program!
echo if exist winxp-2.gho pause
echo del winxp-2.gho
echo if exist winxp-1.gho ren winxp-1.gho winxp-2.gho
echo if exist winxp.gho ren winxp.gho winxp-1.gho
echo pause
echo ......................................................................
echo.
pause
echo ......................................................................
echo If U want to recreate the whole system ,just do it!!!
echo If you need to recreate the entire system, go ahead!!!
echo Or U can press ctrl+C to terminate it! Then press "Y"!
echo Or you need to press ctrl+C to terminate the backup program, then press "Y" to confirm!
echo mem/c/p: memory situation check,operate manually!
echo mem/c/p small program for memory check, can be executed manually
echo A new ghost file called "winxp.gho" will be created
echo About to exit the Chinese environment, then execute the first backup!
echo The last pause time is for you! Think about it then make choice!
echo The last pause provides a chance to regret!
echo pause
echo A new backup file "winxp.gho" will be created
echo Ghost.exe -clone,mode=pdump,src=1:1,dst=1:2\winxp.gho -z1 -sure -rb
echo ......................................................................
pause
@echo on
type help.txt|more
goto quit
:Backup
pause
TW /ns
@echo off
echo.
echo To facilitate understanding of the functions of the self-backup system program, first start Chinese support
echo You have selected to enter the Backup menu. (Start To Restore the System yourself)
echo The main purpose of this program is for users to create new backup files on the hard disk by themselves.
echo Up to three backup files (except the factory backup) can be accommodated in the hidden partition; they are XP, XP-1 and XP-2 respectively. The factory backup is XP-0, and this file cannot be deleted by conventional methods.
echo Each time you enter this menu, a new backup will be created, and the original backup file XP will be renamed to XP-1 and XP-2 in turn. When creating the fourth backup, the following command will delete XP-2 to ensure that the hard disk space meets the requirements.
echo If the following command line if exist winxp-2.gho pause is paused, it means that there is a third backup on the hard disk, prompting you to perform the next operation is to delete the file. Otherwise, "File not found" is displayed
echo.
echo .................................................................
echo About to exit the Chinese environment, pay attention to the English prompts and command line displays
echo The following will pause three times, press Ctrl+C to interrupt the operation of the recovery program,
echo Press any key to continue,
echo Note: There will be three consecutive pauses below!
echo The computer will automatically restart after the system recovery is complete!
pause
tw/q
prompt $p$g
set tz=gmt-8
set dircmd=/o:n
set comspec=c:\command.com
set path=c:
set temp=c:
set tmp=c:
xmsman
set hdpmi=16384
hdpmi32
echo ndos -lfn -mountall -cp:936
echo lh smartdrv.exe
@echo off
echo if exist winxp-2.gho pause
echo del winxp-2.gho
if exist winxp-2.gho pause
del winxp-2.gho
if exist winxp-1.gho ren winxp-1.gho winxp-2.gho
if exist winxp.gho ren winxp.gho winxp-1.gho
pause
echo.
echo .................................................................
echo If U want to recreate the whole system ,just do it!!!
echo Or U can press ctrl+C to terminate it! Then press "Y"!
echo mem/c/p: memory situation check,operate manually!
echo A new ghost file called "winxp.gho" will be created
echo Last pause time for U! Think about it then make choice!
echo Will go to pause and press any key to continue!
pause
Ghost.exe -clone,mode=pdump,src=1:1,dst=1:2\winxp.gho -fro -z1 -sure -rb
xmsman -c
echo .................................................................
echo on
goto quit
:WinXP-1
pause
TW /ns
@echo off
echo.
echo First start Chinese support, note that this program is used to restore the system interactively
echo You have entered the WinXP-1 menu. (Restore last winxp-1.gho back)
echo The main purpose of this WinXP program is to restore to the previous normal backup file.
echo When you find that the newly created system backup is not as good as the previous one when running, start this recovery function. The program will exchange the names of these two backups, and then restore the system to the previous state.
echo When you create a new backup again, the less normal backup file is sorted to the end, and it will be automatically deleted by the system to make room when creating a new backup again.
echo .................................................................
echo About to exit the Chinese environment,
echo The following will automatically pause, press Ctrl+C to interrupt the operation of the recovery program,
echo Press any key to continue, and the computer will automatically restart after the system recovery is complete!
pause
tw/q
prompt $p$g
set tz=gmt-8
set dircmd=/o:n
set comspec=c:\command.com
set path=c:
set temp=c:
set tmp=c:
xmsman
set hdpmi=16384
SMARTDRV.exe >nul
hdpmi32
echo lh ndos -lfn -mountall -cp:936
ren winxp.gho 0.gho
ren winxp-1.gho winxp.gho
ren 0.gho winxp-1.gho
ghost -clone,mode=pload,src=c:\winxp.gho:1,dst=1:1 -fx -sure -rb
xmsman -c
goto quit
:WinXP-0
pause
TW /ns
@echo off
echo.
echo .................................................................
echo To facilitate understanding of the functions of the system recovery program, first start Chinese support
echo You have entered the WinXP-0 menu. (To the Original factory state)
echo The main purpose of this WinXP program is to automatically restore the system to the state when it was installed. Equivalent to the factory state.
echo This backup file was made by the installer when the system was first installed. It is not complete. For example, there is generally no internet password added, so it cannot automatically access the internet. The user needs to manually query and enter it.
echo This backup may not be suitable for the needs of the final user, but at least it is the most streamlined;
echo After the recovery is complete, please reinstall the required software by yourself, and make a new backup in WinXP-1,
echo Any operation on the previous four menus will not affect you performing this operation; unless you forcibly delete or damage this backup file! ^_^
echo .................................................................
echo About to exit the Chinese environment,
echo The following will automatically pause once, press Ctrl+C to interrupt the operation of the recovery program,
echo Press any key to continue, and the computer will automatically restart after the system recovery is complete!
pause
tw/q
smartdrv.exe
ghost -clone,mode=pload,src=c:\winxp-0.gho:1,dst=1:1 -fx -sure -rb
oto quit
:quit