清除系统垃圾文件Batch处理。
@echo off
rem This is the tool which can help you clean system junk files.
echo The batch now is removing system junk files,Please wait......
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 System junk files have been removed successfully.
echo. & pause
本文提供了一个批处理脚本,用于自动清理Windows系统中的各类临时和垃圾文件,包括旧的日志文件、回收站内容、系统缓存等,帮助释放磁盘空间并保持系统的良好运行状态。

2万+

被折叠的 条评论
为什么被折叠?



