rem 设置映像为隐含属性
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 显示备份成功
......
____________________________________________________________
改成如果没有*.gho时加载ifs再重新判断?:\c_pan.gho:
rem 设置映像为隐含属性
: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