| 
 | 
 
网络搜寻,已经解决,谢谢! 
 
omnifs dir %p%\ >c:\x.omn 
type x.omn  
[find..........................] 
。。。 
14-08-10   5:37a           <DIR>  System Volume Information 
10-10-09   0:48a         614,912  TbiView.exe 
14-08-10   5:38a           <DIR>  Uninstall 
6-04-10   8:00a             141  WIN06.XPE 
14-08-10   4:29p     127,475,712  WINC.GHO 
14-08-10   5:38a           <DIR>  WXPE 
。。。 
如何编辑搜寻文件里面的字符winc.gho,如果存在就ok,如果不存在就error。 
del x.omn 
 
if errorlevel 1 goto error 
if errorlevel 0 goto gho_ok 
 
:gho_ok 
ok.exe 
goto quit 
 
:error 
error.exe 
goto quit 
 
:quit 
RESTART.COM 
 
[ 本帖最后由 chen463 于 2010-8-15 17:20 编辑 ] |   
 
 
 
 |