:FRES0
@ECHO OFF
SMARTDRV
XMSDSK 2048 /Y
FINDRAMD
COPY A:\FORMAT.COM %RAMDRIVE%
COPY A:\GHOST.EXE %RAMDRIVE%
TW.EXE /NP
CLS
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO * * * * * * * * * * * * * * * * * * * * * *
ECHO * *
ECHO * Use ×× Restore Disk *
ECHO * *
ECHO * Restore Your Clean C Drive *
ECHO * *
ECHO * This boot disk can ~ format C drive ~ and restore system *
ECHO * *
ECHO * Please confirm that the G:\BAK\SYS.GHO backup file exists *
ECHO * *
ECHO * * * * * * * * * * * * * * * * * * * * * *
ECHO.
ECHO.
ECHO Produced by ×××
ECHO QQ ××××××
ECHO All rights reserved. No reproduction without permission
ECHO.
ECHO Formatting now, restoring system later...
%RAMDRIVE%
FORMAT C: /Q /AUTOTEST
TW /Q
ghost.exe -clone,mode=pload,src=1:5\bak\sys.gho,dst=1:1 -sure -fx -rb
GOTO END
You are using Tianhui Chinese system, not Pocket Dragon! Also, the prior formatting of ghost is redundant, and there are 2 very, very improper points!!!
1: If the system drive disk format is NTFS format, at this time formatting user data with FORMAT C: /Q /AUTOTEST will get you in trouble!
2: Excluding the assumption in 1 that the C drive is FAT32, after formatting, if ghost fails, the original system won't boot up either, because 1:1 is a reserved partition on some brand computers, and 1:2 is the system partition.
[ Last edited by fastslz on 2006-8-14 at 16:24 ]