|
刀兄,你那个GHOSTXP.IMG那个文件我叫我朋友帮你做好了,把ghost系统放在winsys这个文件夹里,
@ECHO OFF
set EXPAND=YES
SET DIRCMD=/O:N
set LglDrv=27 * 26 Z 25 Y 24 X 23 W 22 V 21 U 20 T 19 S 18 R 17 Q 16 P 15
set LglDrv=%LglDrv% O 14 N 13 M 12 L 11 K 10 J 9 I 8 H 7 G 6 F 5 E 4 D 3 C
cls
call setramd.bat %LglDrv%
set temp=c:\
set tmp=c:\
copy command.com %RAMD%:\ > NUL
set comspec=%RAMD%:\command.com
copy extract.exe %RAMD%:\ > NUL
copy readme.txt %RAMD%:\ > NUL
copy smartdrv.exe %RAMD%:\ > NUL
copy writext.exe %RAMD%:\ > NUL
copy wait.com %RAMD%:\ > NUL
copy tw.exe %RAMD%:\ > NUL
copy restart.com %RAMD%:\ > NUL
copy mscdex.exe %RAMD%:\ > NUL
copy choice.com %RAMD%:\ > NUL
:ERROR
IF EXIST ebd.cab GOTO EXT
echo Please insert Windows 98 Startup Disk 2
echo.
pause
GOTO ERROR
:EXT
%RAMD%:\extract /y /e /l %RAMD%: ebd.cab > NUL
echo The diagnostic tools were successfully loaded to drive %RAMD%.
echo.
LH %ramd%:\MSCDEX.EXE /D:mscd001 /L:%CDROM%
%RAMD%:
smartdrv.exe
tw.exe
path=%cdrom%:\;%RAMD%:\;a:\
xmsdsk 4096 X: /y
cls
echo 在使用此功能前请确保U盘HDD区根目录下有WINSYS文件夹
echo 并且在WINSYS文件夹下有GHOST.EXE,SYSTEM1,SYSTEM2..
echo ...SYSTEM8(SYSTEM*文件为任意镜像文件改成不带后缀的
echo 镜像文件,这些文件在手动运行GHOST11.5项中不会正常显
echo 示,进入镜像相应文件夹直接键盘输入 SYSTEM* 还原即可
echo======================================================
echo Windows系统安装菜单
echo 数字1-8对应U盘HDD区WINSYS目录下的GHO文件
echo 镜像0=WINSYS\信念GHOSTXP3快速装机V4.0
echo 镜像1=WINSYS\GhostXPSP3笔记本FAT32
echo 镜像2=WINSYS\深度技术GHOSTXP3V9.0
echo 镜像3=WINSYS\萝卜家园GhostXPSP3
echo 镜像4=WINSYS\番茄花园GhostXpSp3v1.6
echo 镜像5=WINSYS\电脑公司GhostXpSP3
echo 镜像6=WINSYS\雨林木风GhostXp3
echo 镜像7=WINSYS\windows7(32)Ghost
echo 镜像8=WINSYS\autoe.bat
echo ========================================
echo 9=手动运行USB-CDROM自带的GHOST11.5
echo======================================================
choice /c:1234567890 请选择要安装第几个镜像到C盘
if errorlevel 9 goto system9
if errorlevel 8 goto system8
if errorlevel 7 goto system7
if errorlevel 6 goto system6
if errorlevel 5 goto system5
if errorlevel 4 goto system4
if errorlevel 3 goto system3
if errorlevel 2 goto system2
if errorlevel 1 goto system1
if errorlevel 0 goto system0
:system0
ghost.exe -clone,mode=pload,src=%cdrom%:\winsys\system0.gho:1,dst=1:1 -sure -rb
ezboot.com
goto end
:system1
ghost.exe -clone,mode=pload,src=%cdrom%:\winsys\system1.gho:1,dst=1:1 -sure -rb
ezboot.com
goto end
:system2
ghost.exe -clone,mode=pload,src=%cdrom%:\winsys\system2.gho:1,dst=1:1 -sure -rb
ezboot.com
goto end
:system3
ghost.exe -clone,mode=pload,src=%cdrom%:\winsys\system3.gho:1,dst=1:1 -sure -rb
ezboot.com
goto end
:system4
ghost.exe -clone,mode=pload,src=%cdrom%:\winsys\system4.gho:1,dst=1:1 -sure -rb
ezboot.com
goto end
:system5
ghost.exe -clone,mode=pload,src=%cdrom%:\winsys\system5.gho:1,dst=1:1 -sure -rb
ezboot.com
goto end
:system6
ghost.exe -clone,mode=pload,src=%cdrom%:\winsys\system6.gho:1,dst=1:1 -sure -rb
ezboot.com
goto end
:system7
ghost.exe -clone,mode=pload,src=%cdrom%:\winsys\system7.gho:1,dst=1:1 -sure -rb
ezboot.com
goto end
:system8
ghost.exe -clone,mode=pload,src=%cdrom%:\winsys\system8.gho:1,dst=1:1 -sure -rb
ezboot.com
goto end
:system9
SHSUCDX /D:?PATACD01 /D:?SATACD01 /D:?SATACD02 /D:?SATACD03 /D:?USB-CD>nul
ctmouse.exe
ghost.exe
ezboot.com
goto end
[ 本帖最后由 azhong123456 于 2009-8-30 14:16 编辑 ] |
|