在win10系統(tǒng)中,電腦使用久了系統(tǒng)盤或多或少會(huì)產(chǎn)生一定的垃圾文件,因而占用系統(tǒng)盤的空間,導(dǎo)致電腦運(yùn)行速度緩慢,我們可以清理系統(tǒng)的文件,那么win10要如何清除系統(tǒng)垃圾呢,其實(shí)方法也簡(jiǎn)單,下面小編給大家分享電腦win10系統(tǒng)清理系統(tǒng)垃圾的方法步驟。
推薦系統(tǒng):win10專業(yè)版下載64位
解決方法:
1、、制作一個(gè)【清除系統(tǒng)垃圾.bat】文件,清除系統(tǒng)垃圾。將下面的內(nèi)容復(fù)制到記事本中:
@echo off
pause
echo 正在清理系統(tǒng)垃圾文件,請(qǐ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

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

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

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

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

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

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

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