批处理一键安装win7补丁

2012-12-22 12:49 技术文章

 
@Echo Off
Title Install Windows  Update pack
Echo 正在安装Windows7 补丁,请稍等......
For %%F In (*.msu) Do Call :Update %%F
Shutdown.exe -r -t 19
Exit
:Update
Echo 安装完成
Start /Wait %1 /quiet /norestart
GoTo :EOF
Exit
 

©Amwin

Powered by Amwin | 晋ICP备13003365号 |