您的位置:首頁技術文章
文章詳情頁

Win10電腦怎么快速的清理電腦無用的垃圾?

瀏覽:27日期:2022-07-13 13:47:47

當我們在win10電腦中安裝一些軟件的時候,經常會莫名其妙也自動安裝上一些流氓軟件,將其卸載之后重新啟動電腦又安裝上了,遇到這樣的流氓軟件該怎么清理呢?下面小編和大家分享一個win10系統清理垃圾的方法。

1、制作一個【清除系統垃圾.bat】文件,清除系統垃圾,將下面的內容復制到記事本中:

@echo off

pause

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 SettingsTemporary Internet Files*.*”

del /f /s /q “%userprofile%Local SettingsTemp*.*”

del /f /s /q “%userprofile%recent*.*”

echo 清理系統垃圾完成!

echo. & pause

Win10電腦怎么快速的清理電腦無用的垃圾?

2、點擊記事本左上角的【文件】,在下拉菜單中點擊【另存為】。

Win10電腦怎么快速的清理電腦無用的垃圾?

3、在打開的另存為窗口中,先點擊窗口左側的【桌面】,在文件名(N)欄中輸入:清除系統垃圾.bat,再點擊:保存。

Win10電腦怎么快速的清理電腦無用的垃圾?

4、當我們需要清除系統垃圾時,左鍵雙擊桌面上的【清除系統垃圾】圖標。

Win10電腦怎么快速的清理電腦無用的垃圾?

5、此時打開一個C:Windowssystem32cma.exe窗口,顯示:

請按任意鍵繼續。。.

我們按下鍵盤上的“空格鍵”。

Win10電腦怎么快速的清理電腦無用的垃圾?

6、正在清除系統垃圾,請稍等。

Win10電腦怎么快速的清理電腦無用的垃圾?

7、清理系統垃圾完成,請按任意鍵繼續。。.,我們再按下鍵盤上的“空格鍵”,退出C:Windowssystem32cma.exe窗口。

Win10電腦怎么快速的清理電腦無用的垃圾?

以上便是清除win10系統垃圾的一個方法步驟了,大家感興趣的話可以嘗試一下這個方法。

標簽: Windows系統 win10
相關文章:
国产综合久久一区二区三区