现在的位置: 首页 > 综合 > 正文

安静安装patch

2012年10月13日 ⁄ 综合 ⁄ 共 188字 ⁄ 字号 评论关闭

1.安装指定目录(%dr%)下的文件

set dr=C:\Folder
for /F "tokens=*" %%i in ('dir "%dr%\*" /b') do "%dr%\%%i" /quiet /norestart

pause

2.安装当前目录下的文件

for /F "tokens=*" %%i in ('dir "%~dp0" /b') do echo "%~dp0%%i" /quiet /norestart
pause

抱歉!评论已关闭.