怎么知道什么是垃圾文件

来源:百度知道 编辑:UC知道 时间:2024/06/07 04:51:22

你在记事本里输入如下代码:
@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%\\recent\\*.*"
echo 清除系统垃圾完成!按任意键退出!谢谢使用!
echo. & pause
输入完毕后,保存为bat文件,打开这个bat文件,它就会帮你清除系统垃圾文件!
你想知道什么是垃圾文件,想扩展名是*.tmp\*._mp\*.log\*.gid\*.chk\*.old的文件都