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

怎樣清理緩存垃圾

發布時間: 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
上述是清理電腦緩存垃圾的兩種方法,供朋友們參考。

熱點內容
如何查找ftp電影下載資源 發布:2025-03-12 01:37:37 瀏覽:386
一加保存的密碼在哪裡 發布:2025-03-12 01:13:06 瀏覽:89
微信第三方平台源碼 發布:2025-03-12 01:12:21 瀏覽:781
伺服器關閉怎麼補償 發布:2025-03-12 01:01:26 瀏覽:334
c語言復數的四則運算 發布:2025-03-12 01:01:22 瀏覽:803
我的世界電腦版新的伺服器 發布:2025-03-12 01:00:27 瀏覽:379
網站資料庫設置 發布:2025-03-12 00:52:13 瀏覽:311
安卓是哪個企業 發布:2025-03-12 00:41:23 瀏覽:91
javascript還是php 發布:2025-03-12 00:41:12 瀏覽:697
微博抽獎演算法 發布:2025-03-12 00:41:10 瀏覽:112