頁:
[1]
Clean Event Log Windows
@echo offcolor a
Rd "%WinDir%\system32\test_permissions" >NUL 2>NUL
Md "%WinDir%\System32\test_permissions" 2>NUL||(Echo 請使用右鍵管理員身份執行!&&PAUSE >NUL&&EXIT)
for /F "tokens=*" %%G in ('wevtutil.exe el') DO (call :do_clear "%%G")
echo.
echo goto theEnd
:do_clear
echo clearing %1
wevtutil.exe cl %1
goto :eof
<div></div>
頁:
[1]