新建一个记事本,在记事本里复制下列小程式:
@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
文件另保存为 *.bat 格式 (比如文件名用:清除系统.bat,注意后缀是 .bat)
OK,一个小程序制作完成,你双击运行这个文件就可以啦,以后每天下班前运行一次,或一早上班运行一次,
保证你的系统飞起来(呵呵,夸张了).
推荐大家用用.试试吧. |