[摘要]一键清理垃圾bat是一个专门用来清理系统垃圾的批处理文件,它的使用方法非常简单,打开之后就能自动为用户清理系统中的各种垃圾文件,包括临时文件和日志缓存等等,它不仅清理速度快,而且具有非常好的效果,完...
一键清理垃圾bat是一个专门用来清理系统垃圾的批处理文件,它的使用方法非常简单,打开之后就能自动为用户清理系统中的各种垃圾文件,包括临时文件和日志缓存等等,它不仅清理速度快,而且具有非常好的效果,完全可以用来代替各种系统优化清理的软件。下面,小编给大家讲解Win7如何制作一键清理垃圾bat程序。
Win7一键清理垃圾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 Settings\Temporary Internet Files\*.*”
del /f /s /q “%userprofile%\Local Settings\Temp\*.*”
del /f /s /q “%userprofile%\recent\*.*”
echo 清除系统LJ完成!
echo. & pause
记事本重命名:清除系统LJ.bat(复制这个名称)
保存即可,双击运行。

可是清除垃圾

根据提示,点击窗口,点击键盘任意键结束,完成清理。

经过深度清理,恢复电脑的运行速度

轻松方便快捷,做成bat后放置在桌面。
新建记事本-打开放入代码-保存关闭

重命名记事本

完成,双击运行

以上就是Win7制作一键清理垃圾bat程序。
windows 7 的设计主要围绕五个重点——针对笔记本电脑的特有设计;基于应用服务的设计;用户的个性化;视听娱乐的优化;用户易用性的新引擎。 跳跃列表,系统故障快速修复等,这些新功能令Windows 7成为最易用的Windows。
关键词:Win7系统一键清理垃圾bat程序