大家好,欢迎来到IT知识分享网。
@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\*.*" del /f /s /q C:\Windows\Temp\*.* del /f /s /q C:\Windows\SoftwareDistribution\Download\*.* del /f /s /q C:\Windows\Prefetch\*.* echo清除系统LJ完成! echo. & pause
其中del /f /s /q C:\Windows\Prefetch\*.*
是会将你运行过的软件痕迹清理,
比如:你运行了或者其他app,再次打开速度很快,是因为数据文件存储了一下在这个文件夹中,等你下次再次打开的时候会很快跳到你经常用的页面,
如果删除后,再次打开会很慢,因为他需要重新记录,以后就会很快了
如果有重要操作记录可以将这行代码删除掉在执行
免责声明:本站所有文章内容,图片,视频等均是来源于用户投稿和互联网及文摘转载整编而成,不代表本站观点,不承担相关法律责任。其著作权各归其原作者或其出版社所有。如发现本站有涉嫌抄袭侵权/违法违规的内容,侵犯到您的权益,请在线联系站长,一经查实,本站将立刻删除。 本文来自网络,若有侵权,请联系删除,如若转载,请注明出处:https://haidsoft.com/118939.html