|
4#

楼主 |
发表于 2008-2-28 14:30:55
|
只看该作者
@echo off
set drv=notfound
for %%i in (z,y,x,w,v,u,t,s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c,b,a) do if exist %%i:\grub\715.715 set Drv=%%i
if "%Drv%"=="a" goto M1
if "%Drv%"=="b" goto M2
if "%Drv%"=="c" goto M3
if "%Drv%"=="d" goto M4
查了论坛的内容,应该是这样的
但有个问题,就是当检测A驱和B驱时,会显示press any key ...
要手动才能下去,能不能自动运行下去呢 |
|