原帖由 2011czmxbb52 于 2011-12-10 14:11 发表
for /f "delims=" %%a in ('dir /a-d /s ^|findstr /i /c:".msu"') do set /a b=!b!+1
if /i "%b%"=="0" (
echo 未检测到补丁!
pause
goto :patch
)
if exist "%~dp0/dism.exe" set dismpath="%~dp0/dism.exe"
sunsea 发表于 2011-12-16 13:22
更新:已经把x9tian在3#提出的建议更新进去,谢谢!源码:
[ 本帖最后由 2011czmxbb52 于 2012-2-19 08:28 ...
欢迎光临 无忧启动论坛 (http://wuyou.net./) | Powered by Discuz! X3.3 |