I'm sorry, I didn't see it online and was waiting. I don't like using virtual machines, I play pure DOS, so I came up and faced a black screen :P
Haha, this problem should be answered by Teacher Ge
Actually, I optimized a part of the syntax in GHOST_1B.BAT by myself
rem Set the image to hidden attribute
call x:\ifs\load.bat
for %%a in (c d e f g h i j k l m n o p q r s t u v w) do if exist %%a:\c_pan.gho set a1=%%a
for %%b in (w v u t s r q p o n m l k j i h g f e d c) do if exist %%b:\c_pan.gho set b1=%%b
attrib -a -r -s +h %a1%:\c_pan.gho >nul
attrib -a -r -s +h %a1%:\c_pan???.ghs >nul
attrib -a -r -s +h %b1%:\c_pan.gho >nul
attrib -a -r -s +h %b1%:\c_pan???.ghs >nul
if not exist x:\ifs\CWSDPR0.EXE goto att1
call x:\ifs\unload.bat
rem Display backup successful
......
____________________________________________________________
Change to if there is no *.gho, load ifs and then re-judge?:\c_pan.gho:
rem Set the image to hidden attribute
:1
for %%a in (c d e f g h i j k l m n o p q r s t u v w) do if exist %%a:\c_pan.gho set a1=%%a
for %%b in (w v u t s r q p o n m l k j i h g f e d c) do if exist %%b:\c_pan.gho set b1=%%b
if not exist %a1%:\c_pan.gho goto 2
if not exist %b1%:\c_pan.gho goto 2
attrib -a -r -s +h %a1%:\c_pan.gho >nul
attrib -a -r -s +h %a1%:\c_pan???.ghs >nul
attrib -a -r -s +h %b1%:\c_pan.gho >nul
attrib -a -r -s +h %b1%:\c_pan???.ghs >nul
if not exist x:\ifs\CWSDPR0.EXE goto att1
call x:\ifs\unload.bat
goto 3
:2
call x:\ifs\load.bat
goto 1
:3
rem Display backup successful
.......
[ Last edited by fastslz on 2006-6-6 at 22:51 ]