echo off
:menu
cls
@echo.
@echo ================================
@echo === 系 统 复 原 软 盘 ===
@echo ================================
@echo.
@echo 1. Windows XP 自动恢复系统分区.
@echo 2. Windows XP 自动备份系统分区.
@echo 3. 启动 Ghost 手工备份/恢复操作系统.
@echo 4. 格式化 C 盘.
@echo 5. 退出到 DOS MODE.
@echo 6. 重新启动计算机.
@echo.
@echo 请用数字键选择菜单.
@echo.
@echo.
choice /c:654321 /n
if errorlevel 7 goto XP1
if errorlevel 6 goto XP2
if errorlevel 5 goto GHOST
if errorlevel 4 goto FORMAT
if errorlevel 3 goto END
if errorlevel 1 goto REBOOT
:XP1
call XP1.bat
goto exit
:XP2
call XP2.bat
goto exit
:GHOST
GHOST.exe
goto menu
:FORMAT
FORMAT C:
goto menu
:END
:menu
cls
@echo.
@echo ================================
@echo === 系 统 复 原 软 盘 ===
@echo ================================
@echo.
@echo 1. Windows XP 自动恢复系统分区.
@echo 2. Windows XP 自动备份系统分区.
@echo 3. 启动 Ghost 手工备份/恢复操作系统.
@echo 4. 格式化 C 盘.
@echo 5. 退出到 DOS MODE.
@echo 6. 重新启动计算机.
@echo.
@echo 请用数字键选择菜单.
@echo.
@echo.
choice /c:654321 /n
if errorlevel 7 goto XP1
if errorlevel 6 goto XP2
if errorlevel 5 goto GHOST
if errorlevel 4 goto FORMAT
if errorlevel 3 goto END
if errorlevel 1 goto REBOOT
:XP1
call XP1.bat
goto exit
:XP2
call XP2.bat
goto exit
:GHOST
GHOST.exe
goto menu
:FORMAT
FORMAT C:
goto menu
:END

