win8如何清理系統(tǒng)垃圾bat win8怎么創(chuàng)建清理垃圾bat

2020-08-23 13:49

win8系統(tǒng)里,我們在清理系統(tǒng)垃圾是為了提高電腦的運行速度,但是在清理過程中覺得清理方式很慢,這我們就可以創(chuàng)建一個清理系統(tǒng)垃圾的bat執(zhí)行文件,那么win8如何創(chuàng)建清理系統(tǒng)垃圾bat呢,下面小編給大家分享win8創(chuàng)建清理垃圾bat的方法步驟。

解決方法:

1、復制代碼,放入記事本,源代碼如下:

@echo off

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)LJ完成!

echo. & pause

win8如何清理系統(tǒng)垃圾bat_win8怎么創(chuàng)建清理垃圾bat

2、記事本重命名:清除系統(tǒng)LJ.bat(復制這個名稱),保存即可,雙擊運行。

win8如何清理系統(tǒng)垃圾bat_win8怎么創(chuàng)建清理垃圾bat

3、可是清除垃圾。

win8如何清理系統(tǒng)垃圾bat_win8怎么創(chuàng)建清理垃圾bat

4、根據(jù)提示,點擊窗口,點擊鍵盤任意鍵結(jié)束,完成清理。

win8如何清理系統(tǒng)垃圾bat_win8怎么創(chuàng)建清理垃圾bat

以上就是win8系統(tǒng)創(chuàng)建清理垃圾bat的方法步驟,有想簡單的一鍵清理系統(tǒng)垃圾的話,可以按上面的方法來進行創(chuàng)建bat執(zhí)行文件把。

網(wǎng)友評論

相關(guān)閱讀