for %%d 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 %%d:\ghost.exe set disky=%%d:\
%disky%beifen\sys~1\GHOST.exe -clone,mode=pdump,src=1:1,dst=1:2\beifen\sys~1\SYS.GHO -autoname -z9 -sure -rb -fro -quiet作者: fastslz 时间: 2008-2-3 13:47 兼容所有电脑?
我急了N年也没很兼容很通用的办法
for %%d 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 %%d:\ghost.exe
这样写法会因无法访问跳出批处理的,不稳定的批处理。 http://www.cn-dos.net/forum/viewthread.php?tid=37277&fpage=1