2024年4月11日发(作者:笔记本电脑卡顿怎么办)
一键清除系统垃圾批处理文件的制作方法
先新建一个记事本文件,然后把下面这段代码复制到记事本里,保存为后缀名为.bat
的批处理文件,例如。然后双击运行它即可以清除系统垃圾。
源代码如下:
@echo off
echo 清空IE临时文件目录...
del /f /s /q "%userprofile%Local SettingsTemporary Internet Files*.*"
del /f /s /q "%userprofile%Local SettingsTemp*.*"
echo 正在清除系统临时文件 *.tmp *._tmp *.log *.chk *.old ,请稍等...
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
echo 清空垃圾箱,备份文件和预缓存脚本...
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
rem cooke和最近历史还是保留吧...
rem del /f /q %userprofile%COOKIES s*.*
rem del /f /q %userprofile%recent*.*
echo 清理系统盘无用文件...
%windir% /purgecache
echo 优化预读信息...
%windir% %systemdrive% -b
echo *
echo ***
echo *****
echo *******
echo 清除系统完成!
echo 本软件由廖道林制作!
echo *****
echo ***
echo *
echo. & pause
廖道林
2011.3.18
发布者:admin,转转请注明出处:http://www.yc00.com/xitong/1712811813a2126864.html
评论列表(0条)