| 
 | 
5#
 
 
 楼主 |
发表于 2010-7-23 01:34:58
|
只看该作者
 
 
 
文件作成功了  
set UDrv= 
set PeFlag=r3m1 
rem 找PeFlag文件就代表找到U盘 
if exist z:\%PeFlag% set UDrv=z: 
IF not "%UDrv%"=="" GOTO ufind 
if exist y:\%PeFlag% set UDrv=y: 
IF not "%UDrv%"=="" GOTO ufind 
if exist x:\%PeFlag% set UDrv=x: 
IF not "%UDrv%"=="" GOTO ufind 
if exist w:\%PeFlag% set UDrv=w: 
IF not "%UDrv%"=="" GOTO ufind 
if exist v:\%PeFlag% set UDrv=v: 
IF not "%UDrv%"=="" GOTO ufind 
if exist u:\%PeFlag% set UDrv=u: 
IF not "%UDrv%"=="" GOTO ufind 
if exist t:\%PeFlag% set UDrv=t: 
IF not "%UDrv%"=="" GOTO ufind 
if exist s:\%PeFlag% set UDrv=s: 
IF not "%UDrv%"=="" GOTO ufind 
if exist r:\%PeFlag% set UDrv=r: 
IF not "%UDrv%"=="" GOTO ufind 
if exist q:\%PeFlag% set UDrv=q: 
IF not "%UDrv%"=="" GOTO ufind 
if exist p:\%PeFlag% set UDrv=p: 
IF not "%UDrv%"=="" GOTO ufind 
if exist o:\%PeFlag% set UDrv=o: 
IF not "%UDrv%"=="" GOTO ufind 
if exist n:\%PeFlag% set UDrv=n: 
IF not "%UDrv%"=="" GOTO ufind 
if exist m:\%PeFlag% set UDrv=m: 
IF not "%UDrv%"=="" GOTO ufind 
if exist l:\%PeFlag% set UDrv=l: 
IF not "%UDrv%"=="" GOTO ufind 
if exist k:\%PeFlag% set UDrv=k: 
IF not "%UDrv%"=="" GOTO ufind 
if exist j:\%PeFlag% set UDrv=j: 
IF not "%UDrv%"=="" GOTO ufind 
if exist i:\%PeFlag% set UDrv=i: 
IF not "%UDrv%"=="" GOTO ufind 
if exist h:\%PeFlag% set UDrv=h: 
IF not "%UDrv%"=="" GOTO ufind 
if exist g:\%PeFlag% set UDrv=g: 
IF not "%UDrv%"=="" GOTO ufind 
if exist f:\%PeFlag% set UDrv=f: 
IF not "%UDrv%"=="" GOTO ufind 
if exist e:\%PeFlag% set UDrv=e: 
IF not "%UDrv%"=="" GOTO ufind 
if exist d:\%PeFlag% set UDrv=d: 
IF not "%UDrv%"=="" GOTO ufind 
if exist c:\%PeFlag% set UDrv=c: 
IF not "%UDrv%"=="" GOTO ufind 
if exist b:\%PeFlag% set UDrv=b: 
IF not "%UDrv%"=="" GOTO ufind 
if exist a:\%PeFlag% set UDrv=a: 
IF not "%UDrv%"=="" GOTO ufind 
 
:ufind 
copy r3memid.log %uRrv%\r3m1 
 
在WINDOWS下测试正常 怎么放到img里面 bat文件无法运行 
提示requirde parameter missing 提示 缺少必要的参数 这是啥意思??? |   
 
 
 
 |