Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set scriptpath=%~dp0
- if not "%scriptpath%" == "" pushd %scriptpath%
- for %%x in (Windows6.1-KB3065987-v2-*.msu Windows6.1-KB3102810-*.msu Windows6.1-KB3135445-*.msu Windows6.1-KB3020369-*.msu Windows6.1-KB3172605-*.msu) do (
- net stop wuauserv
- : ping -n 11 127.0.0.1
- : timeout 10
- %%x
- )
- if not "%scriptpath%"=="" popd
- ------------------------------------------------
- set scriptpath=%~dp0
- if not "%scriptpath%" == "" pushd %scriptpath%
- for %%x in (Windows6.1-KB3172605-*.msu) do (
- net stop wuauserv
- : ping -n 11 127.0.0.1
- : timeout 10
- %%x
- )
- if not "%scriptpath%"=="" popd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement