安全清潔 C drive 垃圾

從網上看到既少少應用, 可令電腦減少部份無用檔案, 已測試安全可用

先開一個 Text 檔案, 復製下列各行, 儲存後更名為 clean.bat

rem —- Clean temp file —
@echo off
echo Cleaning in progress, please wait ……
del /f /s /q %systemdrive%\*.tmp
del /f /s /q %systemdrive%\*._mp
del /f /s /q %systemdrive%\*.log
del /f /s /q %systemdrive%\*.gid
del /f /s /q %systemdrive%\*.chk
del /f /s /q %systemdrive%\*.old
del /f /s /q %systemdrive%\recycled\*.*
del /f /s /q %windir%\*.bak
del /f /s /q %windir%\prefetch\*.*
rd /s /q %windir%\temp & md %windir%\temp
del /f /q %userprofile%\cookies\*.*
del /f /q %userprofile%\recent\*.*
del /f /s /q “%userprofile%\Local Settings\Temporary Internet Files\*.*”
del /f /s /q “%userprofile%\Local Settings\Temp\*.*”
del /f /s /q “%userprofile%\recent\*.*”
echo Finished!
echo. & pause

* 請小心使用, 小弟唔會負任何責任.

Leave a comment

Please leave your comment on the topic

This site uses Akismet to reduce spam. Learn how your comment data is processed.