清除系统垃圾文件
2009-01-29 15:27
246 查看
打开记事本文件,并将文件名命名为“清除系统LJ”,并将下面的内容COPY过去。将后缀改为.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 s/*.*
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/*.*"
sfc /purgecache '清理系统盘无用文件
defrag %systemdrive% -b '优化预读信息
echo 清除系统LJ完成!
echo. & pause
@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 s/*.*
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/*.*"
sfc /purgecache '清理系统盘无用文件
defrag %systemdrive% -b '优化预读信息
echo 清除系统LJ完成!
echo. & pause
相关文章推荐
- Windows系统垃圾文件清除器
- 完整清除XP垃圾文件系统自带的秘密武器
- 清除系统垃圾文件的BAT脚本
- 清除系统垃圾的bat文件
- 清除系统垃圾文件
- 清除windows系统垃圾文件简易脚本(bat)
- 清除C盘系统垃圾和缓存的批处理bat文件
- 编写的一个.bat文件,用于清除系统中的垃圾
- linux清除系统垃圾文件
- 清除系统垃圾文件.bat
- 清除系统垃圾文件
- 清除ubuntu系统垃圾文件
- 清除系统垃圾文件
- 清除系统垃圾文件
- 自制程序清除系统垃圾文件
- 自制清除系统垃圾的文件
- 由于使用了一个未经验证的清除垃圾文件的程序,导致Oracle数据库无法接(能启动),系统报错:
- Windows 清除系统垃圾文件
- 清除系统的垃圾文件