Bat File ไว้ลบ ขยะ คุกกี้ ในเครื่อง ที่ไม่จำเป็นต้อง ใช้ เพราะทิ้งไว้นานๆมันหน่วงเครื่อง
@echo off color a del /s /f /q %windir%\temp\*.* rd /s /q %windir%\temp md %windir%\temp del /s /f /q %windir%\Prefetch\*.* rd /s /q %windir%\Prefetch md %windir%\Prefetch del /s /f /q %windir%\system32\dllcache\*.* rd /s /q %windir%\system32\dllcache md %windir%\system32\dllcache del /s /f /q %temp%\*.* rd /s /q %temp% md %temp% cls
[USER=154672]Echo[/USER] off cls cleanmgr /sageset:99 del /F /S /Q "%systemroot%\temp\*.*" del /F /S /Q "%systemroot%\Prefetch\*.*" del /F /S /Q "C:\Documents and Settings\Default User\Local Settings\Temporary Internet Files\Content.IE5\*.*" del /F /S /Q "C:\Documents and Settings\Default User\Local Settings\Temp\*.*" del /F /S /Q "C:\Documents and Settings\Default User\Local Settings\History\*.*" del /F /S /Q "C:\Documents and Settings\%UserName%\Local Settings\Temporary Internet Files\Content.IE5\*.*" del /F /S /Q "C:\Documents and Settings\%UserName%\Local Settings\Temp\*.*" del /F /S /Q "C:\Documents and Settings\%UserName%\Local Settings\History\*.*" del /F /S /Q "C:\Documents and Settings\%UserName%\Local Settings\Application Data\Temp\*.*" del /F /S /Q "C:\Documents and Settings\%UserName%\Local Settings\Application Data\Temporary Internet Files\Content.IE5 \*.*" del /F /S /Q "C:\AppData\Local\Microsoft\Windows\History\*. *" del /F /S /Q "C:\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\*.*" del /F /S /Q "C:\AppData\Local\Microsoft\Windows\Temporary Internet Files\Low\Content.IE5\*.*" del /F /S /Q "C:\AppData\Local\Microsoft\Windows\Temporary Internet Files\Temporary Internet Files\Content.IE5\*.*" del /F /S /Q "C:\AppData\Local\Microsoft\Windows\Temporary Internet Files\Temporary Internet Files\Low\Content.IE5\*.*" del /F /S /Q "C:\Users\%UserName%\AppData\Local\Temp\*.*" del /F /S /Q "C:\Temp\*.*" del /F /S /Q "C:\Users\%UserName%\AppData\Local\Microsoft\W indo ws\Temporary Internet Files\Low\Content.IE5\*.* del /F /S /Q "C:\Users\%UserName%\AppData\Local\Microsoft\W indo ws\History\*.* ::Rem: No need to duplicate the following section for each registered User del /F /S /Q "%homepath%\Cookies\*.*" del /F /S /Q "%homepath%\recent\*.*" del /F /S /Q "%homepath%\Local Settings\cookies\*.*" del /F /S /Q "%homepath%\Local Settings\History\*.*" del /F /S /Q "%homepath%\Local Settings\Temp\*.*" del /F /S /Q "%homepath%\Local Settings\Temporary Internet Files\Content.IE5\*.*" cleanmgr /sagerun:99