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
:2
call x:\ifs\load.bat
goto 1
:3
rem 显示备份成功
.......
[ Last edited by fastslz on 2006-6-6 at 22:51 ]作者: fastslz 时间: 2006-6-7 00:33 哦...没说明其目的,这样做最起码如果?:\c_pan.gho恰好是FAT32格式的话跳过了加载IFS驱动,对于拥有众多用户的DOS之家一键GHOST来说更为重要。