電腦使用久了就會變得遲鈍而且卡,這個時候就需要清理一下C盤來使其加速,很多人都會選擇通過輸入指令來針對性的清理,那麼今天就來和大家分享一下這些指令。
1、清理幾個比較多垃圾檔案的地方
DEL /F /S /Q "C:WINDOWSPCHealthERRORREPQSIGNOFF*.*"
DEL /F /S /Q "C:WINDOWSPCHealthERRORREPUserDumps*.*"
DEL /F /S /Q "C:WINDOWSsystem32logFilesHTTPERR*.*"
DEL /F /S /Q "C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Files*.*"
DEL /F /S /Q "C:WINDOWSMicrosoft.NETFrameworkv1.1.4322Temporary ASP.NET Files*.*"
DEL /F /S /Q "C:WindowsMicrosoft.NETFrameworkv4.0.30319Temporary ASP.NET Files*.*"
DEL /F /S /Q "C:windowstemp*.*"
DEL /F /S /Q /A:S "C:WINDOWSIIS Temporary Compressed Files*.*"
2、刪除系統盤目錄下臨時檔案
del /f /s /q %systemdrive%*._mp
3、刪除系統盤目錄下日誌檔案
del /f /s /q %systemdrive%*.log
4、刪除系統目錄下old檔案del /f /s /q %systemdrive%*.old
5、刪除回收站的無用檔案
del /f /s /q %systemdrive%recycled*.*
6、刪除系統目錄下備份檔案
del /f /s /q %windir%*.bak
7、刪除應用程式臨時檔案8、刪除系統維護等操作產生的臨時檔案
del /f /s /q %windir%temp*.*
9、刪除當前使用者的COOKIE(IE)
del /f /s /q %userprofile%cookies*.*
10、刪除當前使用者日常操作臨時檔案del /f /s /q "%userprofile%local settingstemp*.*"
%userprofile%local settings=C:UsersAdministratorAppDataLocal
11、刪除訪問記錄(開始選單中的文件裡面的東西)del /f /s /q "%userprofile%recent*.*"