如何用批处理安装系统及office补丁

来源:百度知道 编辑:UC知道 时间:2024/09/19 17:13:19
安装电脑系统后,要安装系统及office补丁。
现有这些补丁,但不想一个个去安。不想另安装第三方软件来安装补丁。该电脑为单机,不接互联网。
现求编写个批处理来安装系统及office、Flash补丁等。
for %%A IN (*.exe)do %%A /passive /norestart 这个批处理只能用于系统补丁,office补丁不行。
要求运行该批处理后,所在的补丁一个接一个安装,不重启电脑,安装后不备份补丁。
for /f "delims=" %%A IN ('dir /s/b/a-d *KB*.exe^|find /i /v "office"') do %%A /passive /norestart /nobackup
for /f "delims=" %%A IN ('dir /s/b/a-d *office*.exe') do %%A /Q:A /R:N

这个不行啊!不断要点确定,而且不能安装office补丁。

你如果有兴趣的话,去我的百度空间,然后搜索
补丁
这两个字就能找到那篇文章了。

for /f "delims=" %%A IN ('dir /s/b/a-d *KB*.exe^|find /i /v "office"') do %%A /quiet /passive /norestart /nobackup
for /f "delims=" %%A IN ('dir /s/b/a-d *office*.exe') do %%A /Q:A /R:N