今天为大家分享一个使用BAT批处理文件快速删除系统垃圾的小技巧,省得装各种软件垃圾没清理完又被装上第三方软件的垃圾!!感兴趣的朋友就一起通过文章来了解了解吧。
首先在桌面上建立一个记事本文件,输入以下命令,然后把文件保存为.bat后缀的文件,双击执行即可。
@echo off
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 Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
del /f /s /q "%userprofile%\recent\*.*"
echo 清除系统垃圾完成!按任意键继续……
echo. & pause
正在阅读:
河北唐山2022年4月自考通知单打印时间:考前一周内10-07
我的妈妈是天使作文600字06-23
劳动节200字作文高中6篇04-18
关于解放思想大讨论心得体会,精品解放思想大讨论心得体会04-30
2020年北京高考英语听力第二次考试准考证打印时间:6月17日起12-04
2021中国民生银行宁夏银川分行企业金融部负责人招聘公告【2人】09-25
大三入党申请书3000字样本09-03
中国京杭大运河博物馆作文700字09-28