當前位置:首頁 » 文件管理 » 怎樣清理緩存垃圾

怎樣清理緩存垃圾

發布時間: 2023-08-12 16:50:38

Ⅰ 電腦如何清理緩存

操作方法

01
清理電腦緩存的方法
第一種方法:使用cleanmgr /sageset:99和cleanmgr /sagerun:99命令設置特別磁碟清理模式清理電腦緩存垃圾。
步驟:
開始 - 運行輸入:cleanmgr /sageset:99,確定或者回車,打開磁碟清理設置;

02
在打開的磁碟清理設置窗口,我們把想要清理的項目打上勾(在這個設置窗口,我們可以發現可以清理的項目比打開計算機,右鍵屬性中的磁碟清理項目要多很多),再點擊:確定;

03
點擊確定以後,再點擊:開始 - 運行,輸入:cleanmgr /sagerun:99,確定或者回車,進行磁碟清理。

04
第二種方法:編輯一個「清理.bat"文件清理電腦緩存垃圾。
打開記事本,復制下面的文件到記事本中:
@echo off echo 正在清除系統垃圾文件,請稍等...... 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 清除系統LJ完成! echo. & pause

05
左鍵點擊記事本左上角的「文件」,在下拉菜單中點擊:另存為:

06
在打開的另存為窗口,我們在文件名(N)欄輸入:清理.bat,再點擊:保存(S);

07
這時桌面上會出現一個「
清理」的文件圖標,我們左鍵雙擊:清理圖標;

08
正在進行清理,清理完成後,按任意鍵退出。

09
上述是清理電腦緩存垃圾的兩種方法,供朋友們參考。

熱點內容
java返回this 發布:2025-10-20 08:28:16 瀏覽:603
製作腳本網站 發布:2025-10-20 08:17:34 瀏覽:895
python中的init方法 發布:2025-10-20 08:17:33 瀏覽:589
圖案密碼什麼意思 發布:2025-10-20 08:16:56 瀏覽:774
怎麼清理微信視頻緩存 發布:2025-10-20 08:12:37 瀏覽:693
c語言編譯器怎麼看執行過程 發布:2025-10-20 08:00:32 瀏覽:1020
郵箱如何填寫發信伺服器 發布:2025-10-20 07:45:27 瀏覽:264
shell腳本入門案例 發布:2025-10-20 07:44:45 瀏覽:123
怎麼上傳照片瀏覽上傳 發布:2025-10-20 07:44:03 瀏覽:813
python股票數據獲取 發布:2025-10-20 07:39:44 瀏覽:722