便捷清理系統(tǒng)垃圾的方法
今天來聊聊一篇關(guān)于便捷清理系統(tǒng)垃圾的方法的文章,現(xiàn)在就為大家來簡單介紹下便捷清理系統(tǒng)垃圾的方法,希望對(duì)各位小伙伴們有所幫助。
在電腦屏幕的左下角按“開始→程序→附件→記事本”,把下面的文字復(fù)制進(jìn)去(黑色部分),點(diǎn)“另存為”,路徑選“桌面”,保存類型為“所有文件”,文件名為“清除系統(tǒng)LJ.bat”,就完成了。記住后綴名一定要是.bat,ok!你的垃圾清除器就這樣制作成功了!
雙擊它就能很快地清理垃圾文件,大約一分鐘不到。
======就是下面的文字(這行不用復(fù)制)=============================
@echo off
echo 正在清除系統(tǒng)垃圾文件,請(qǐng)稍等......
del /f /s /q %systemdrive%*.tmp
del /f /s /q %systemdrive%*._mp
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 清除系統(tǒng)LJ完成!
echo. & pause
=====到這里為止(這行不用復(fù)制)==
相信通過便捷清理系統(tǒng)垃圾的方法這篇文章能幫到你,在和好朋友分享的時(shí)候,也歡迎感興趣小伙伴們一起來探討。
標(biāo)簽: 便捷清理系統(tǒng)垃圾的方法