2024年1月8日发(作者:)
如何制作批文件删除C盘中垃圾文件
1. 开始——程序——附件——记事本
2. 把“下面的文字”复制进去
3. 另存为——桌面——保存类型——所有文件——文件名——清除系统(只要后缀是.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 SettingsTemporary Internet Files*.*“
del /f /s /q “%userprofile%Local SettingsTemp*.*“
del /f /s /q “%userprofile%recent*.*“
echo 清除系统LJ完成!
echo. & pause
4.双击运行。


发布评论