最近看到晚报上有一篇小文,介绍如何快速清除Windows使用过程中产生的垃圾文件,据说很实用。
我家的电脑这些年,我也从来没做过清除垃圾文件或整理碎片之类的事,就照样复制了一下。果然发现有很多垃圾文件。
我把这段文字放在网上,有需要的可以copy一下,省得再输入了。
1、按电脑屏幕左下角的“开始---程序---附件---记事本”
2、在记事本中复制以下文字
@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清除系统LJ完成!
echo. & pause
3、点击“另存为”,路径选“桌面”,保存类型“所有文件”,文件名为“清除系统LJ.bat”