
[已解決]2個批處理一塊運行開機為何會出現word安裝的類似提示wmic nteventlog get filenamerem 獲取系統日志類型wmic nteventlog where filename=AppEvent call cleareventlogrem 清除應用程序日志wmic nteventlog where filename=SecEvent call cleareventlogrem 清除安全性日志wmic nteventlog where filename=SysEvent call cleareventlogrem 清除系統日志;上面下面代碼如果各自單獨運行(只運行其中任意1個),就沒有問題。而如果放在一塊運行,開機進入xp系統,就會出現word安裝的類似提示。這是什么原因?rem 刪除空文件夾for /f skip=1 %%i in ('wmic logicaldisk where drivetype=2 get caption') do ( for /f tokens=* %%j in ('dir /s/ad/b %%i') do rd %%j 1>nul 2>nul)for /f skip=1 %%i in ('wmic logicaldisk where drivetype=3 get caption') do ( for /f tokens=* %%j in ('dir /s/ad/b %%i') do rd %%j 1>nul 2>nul)exit

