|
CUSTOM.CMD给大家参考
@echo off
:start
cls
color 1f
echo.
ECHO TOSHIBA System Recovery Tools
echo.
ECHO ========================================
ECHO 1. 恢复TOSHIBA 预安装系统(格式化C盘)
ECHO -----------------------------------------
ECHO 2. 手动操作Symantec NortonGhost预安装软件
ECHO ========================================
ECHO 3. 备份C盘到D盘并取名为TOSHIBA
ECHO 4. 从D盘的TOSHBA备份文件恢复系统C盘
ECHO ========================================
ECHO Q. 要拯救数据请退出,本程式支持USB移动硬盘
echo.
SET Choice=
SET /P Choice= 请选择要进行的操作(1/2/Q),然后按回车:
ECHO.
IF NOT '%Choice%'=='' SET Choice=%Choice:~0,1%
IF /I '%Choice%'=='1' GOTO toshiba
IF /I '%Choice%'=='2' GOTO ghost32
IF /I '%Choice%'=='3' GOTO Backup
IF /I '%Choice%'=='4' GOTO restore
IF /I '%Choice%'=='Q' GOTO end
GOTO Start
:toshiba
start %1\PROGRAMS\GHOST\GHOST32.EXE -clone,mode=pload,src=%1\TOSHIBA.GHO:1,dst=1:1 -sure -rb
goto end
:ghost32
start %1\PROGRAMS\GHOST\GHOST32.EXE
goto end
:restore
start %1\PROGRAMS\GHOST\GHOST32.EXE -clone,mode=pload,src=D:\TOSHIBA.GHO:1,dst=1:1 -sure -rb
goto end
:Backup
start %1\PROGRAMS\GHOST\GHOST32.EXE -clone,mode=pdump,src=1:1,dst=D:\TOSHIBA.GHO -split=640 -z9 -sure -rb
goto end
:end
exit |
|