原帖由 chiannet 于 2011-9-17 14:12 发表
for %%a in (c d e f g h i j k l m n o p q r s t u v w x y z) do if exist %%a:\%myfile% set driver=%%a
这句存在缺陷,假定存在c:\123.exe和d:\123.exe,当找到c:\123.exe时,未跳出for循环,将会set dri ...
原帖由 chiannet 于 2011-9-17 14:12 发表
for %%a in (c d e f g h i j k l m n o p q r s t u v w x y z) do if exist %%a:\%myfile% set driver=%%a
这句存在缺陷,假定存在c:\123.exe和d:\123.exe,当找到c:\123.exe时,未跳出for循环,将会set dri ...
欢迎光临 无忧启动论坛 (http://bbs.wuyou.net/) | Powered by Discuz! X3.3 |