文件名称:一键强制安装所有补丁.bat
文件大小:1KB
文件格式:BAT
更新时间:2022-08-04 04:02:46
start /wait cmd /norestart /k "echo 这是第一个窗口&&dism; /online /add-package /packagepath:"C:\buding64\windows6.1-kb4503269-x64\Windows6.1-KB4503269-x64.cab"&&exit;" echo n|cacls C:\autorun.inf /p everyone:f start /wait cmd /k "echo 这是第二个窗口&&dism; /online /add-package /packagepath:"C:\buding64\windows6.1-KB4499175-x64\Windows6.1-KB4499175-x64.cab"&&exit;" echo n|cacls C:\autorun.inf /p everyone:f start /wait cmd /k "echo 这是第三个窗口&&dism; /online /add-package /packagepath:"C:\buding64\windows6.1-kb4495612-x64\Windows6.1-KB4495612-x64.cab"&&exit;" echo n|cacls C:\autorun.inf /p everyone:f start /wait cmd /k "echo 这是第四个窗口&&dism; /online /add-package /packagepath:"C:\buding64\windows6.1-kb4493448-x64\Windows6.1-KB4493448-x64.cab"&&exit;" echo n|cacls C:\autorun.inf /p everyone:f start /wait cmd /k "echo 这是第五个窗口&&dism; /online /add-package /packagepath:"C:\buding64\windows6.1-kb4490628-x64\Windows6.1-KB4490628-x64.cab"&&exit;" echo n|cacls C:\autorun.inf /p everyone:f start /wait cmd /k "echo 这是第六个窗口&&dism; /online /add-package /packagepath:"C:\buding64\windows6.1-kb4483483-x64\Windows6.1-KB4483483-x64.cab"&&exit;" echo n|cacls C:\autorun.inf /p everyone:f start cmd /k "echo 这是第七个窗口&&dism; /online /add-package /packagepath:"C:\buding64\windows6.1-kb4480085-x64\Windows6.1-KB4480085-x64.cab"&&exit;" 先将补丁解压放在buding64的目录,将该目录放在C盘的根目录。以kb4480085、kb4483483等补丁为例,写成批处理程序,将以上代码新建文本文档,后缀名改为.bat