重要:码友网友们,清理C盘之前要把C盘的文件该保存的保存啊!!!你要是软件也放到了C盘,建议你慎重使用
操作:鼠标放在图标上-》右键-》打开文件所在位置看看在哪个盘。
桌面的文件也要右键看看在哪!因为有可能你就放C盘了
将文件保存到DE盘再执行该文件
在桌面创建txt文件,并将下面内容粘贴进去,将文件的.txt改成.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\*.*"
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\*.*
是会将你运行过的软件痕迹清理,
比如:你运行了QQ或者其他app,再次打开速度很快,是因为数据文件存储了一下在这个文件夹中,等你下次再次打开的时候会很快跳到你经常用的页面,
如果删除后,再次打开会很慢,因为他需要重新记录,以后就会很快了
如果有重要操作记录可以将这行代码删除掉在执行
发布者:admin,转转请注明出处:http://www.yc00.com/web/1738002608a4009434.html
评论列表(0条)