清理C盘垃圾文件的快速方式
2018-02-04 16:49
435 查看
将以下代码保存为 name.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 清除系统垃圾完成!按任意键继续……
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*.*
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 清除系统垃圾完成!按任意键继续……
echo. & pause
···
相关文章推荐
- 清理C盘系统垃圾文件-批处理方式
- 超简单超强悍的清理C盘垃圾文件方法
- 51CTO技术圈:系统垃圾文件快速清理增强版.bat
- 清理C盘的一个新发现,Visio Studio在调试过程中产生的垃圾文件
- C盘垃圾文件清理方法
- 清理C盘的一个新发现,Visio Studio在调试过程中产生的垃圾文件
- 清理C盘垃圾文件宝典秘录
- 如何快速清理C盘垃圾?
- 快速清理C盘垃圾的方法
- 清理C盘垃圾文件的方法
- 快速清理系统垃圾
- 我的安卓手机上的垃圾文件清理记录
- 快速自动清除浪费空间的垃圾文件
- SpaceSniffer - 揪出偷偷占用你硬盘空间的流氓!直观分析并清理硬盘垃圾文件的绝佳好工具!
- 为citrix服务器清理垃圾文件事件
- Xcode清理缓存和垃圾文件
- 今天在网上找到的一个清楚c盘垃圾文件的方法
- 清理svn的垃圾文件.svn文件夹
- 26招教你如何清理C盘下的文件