xiewei120120 当前离线
一级士官
slore 当前离线
上尉
TOP
原帖由 sgaizxt001 于 2010-6-17 23:16 发表 if /i exist "c:\program files\winrar\winrar.exe" start "" "c:\program files\winrar\winrar.exe" e -p123 c:\123.rar *.* if /i exist "d:\program files\winrar\winrar.exe" start "" "d:\program files\winra ...
sgaizxt001 当前离线
大校
评分人数
原帖由 sgaizxt001 于 2010-6-17 21:58 发表 @echo off for %%a in (c d e f) do ( for /f "delims=" %%b in ('dir /s /b /a-d %%a:\WinRAR.exe') do set str="%%~fb" ) start "" %str% e -p123 c:\123.rar *.* pause很慢,因为需要去查找winrar
@echo off for %%a in (c d e f) do ( for /f "delims=" %%b in ('dir /s /b /a-d %%a:\WinRAR.exe') do set str="%%~fb" ) start "" %str% e -p123 c:\123.rar *.* pause复制代码