@echo off
for %%i in (c: d: e: ) do (
@dir/s/b %%i\qq.exe>file.txt
cls
for /f "tokens=*" %%a in (file.txt) do (
start %%a
del file.txt
)
)
exit
运行后显示“windows找不到'c:\program'",我也知道是因为program files中间有空格,但就是不知道怎么处理。帮帮忙!谢谢!
[ Last edited by bjsh on 2007-7-31 at 12:23 AM ]
for %%i in (c: d: e: ) do (
@dir/s/b %%i\qq.exe>file.txt
cls
for /f "tokens=*" %%a in (file.txt) do (
start %%a
del file.txt
)
)
exit
运行后显示“windows找不到'c:\program'",我也知道是因为program files中间有空格,但就是不知道怎么处理。帮帮忙!谢谢!
[ Last edited by bjsh on 2007-7-31 at 12:23 AM ]
