win10如何清除系統(tǒng)垃圾_電腦win10怎么清理垃圾

2020-08-06 17:15

在win10系統(tǒng)中,電腦使用久了系統(tǒng)盤或多或少會產(chǎn)生一定的垃圾文件,因而占用系統(tǒng)盤的空間,導(dǎo)致電腦運行速度緩慢,我們可以清理系統(tǒng)的文件,那么win10要如何清除系統(tǒng)垃圾呢,其實方法也簡單,下面小編給大家分享電腦win10系統(tǒng)清理系統(tǒng)垃圾的方法步驟。

推薦系統(tǒng):win10專業(yè)版下載64位

解決方法:

1、、制作一個【清除系統(tǒng)垃圾.bat】文件,清除系統(tǒng)垃圾。將下面的內(nèi)容復(fù)制到記事本中:

@echo off

pause

echo 正在清理系統(tǒng)垃圾文件,請稍等......

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 清理系統(tǒng)垃圾完成!

echo. & pause

win10如何清除系統(tǒng)垃圾_電腦win10怎么清理垃圾

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

win10如何清除系統(tǒng)垃圾_電腦win10怎么清理垃圾

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

win10如何清除系統(tǒng)垃圾_電腦win10怎么清理垃圾

4、當我們需要清除系統(tǒng)垃圾時,左鍵雙擊桌面上的清除系統(tǒng)垃圾圖標。

win10如何清除系統(tǒng)垃圾_電腦win10怎么清理垃圾

5、此時打開一個C:\Windows\system32\cma.exe窗口,顯示:請按任意鍵繼續(xù)...我們按下鍵盤上的“空格鍵”。

win10如何清除系統(tǒng)垃圾_電腦win10怎么清理垃圾

6、正在清除系統(tǒng)垃圾,請稍等。

win10如何清除系統(tǒng)垃圾_電腦win10怎么清理垃圾

7、清理系統(tǒng)垃圾完成,請按任意鍵繼續(xù)...,我們再按下鍵盤上的“空格鍵”,退出C:\Windows\system32\cma.exe窗口。

win10如何清除系統(tǒng)垃圾_電腦win10怎么清理垃圾

以上就是win10系統(tǒng)的清理系統(tǒng)垃圾方法步驟,系統(tǒng)垃圾太多了要清理的小伙伴們可以按上面的方法來清理。

網(wǎng)友評論

相關(guān)閱讀