直接新建一个clean.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
相关推荐
用于清理windows 垃圾 清理各种用户目录下的垃圾文件
电脑垃圾清理软件,清理缓存和日志文件系统更新文件,可以清理出很多C盘很多空间,再配合CCleaner请你的电脑干干净净
随便写了个BAT文件,用来清理C盘垃圾。特别是WIN7系统垃圾会越来越大。
windows 操作系统清除系 统盘(C盘)临时文件的bat脚本 .log /s *.tmp /s *.txt /s 如果有txt文件需要保留,可以把最后一行删除
C盘都是系统文件,删错很容易出问题,可以使用系统自带的清理程序进行清理。网上好多的清理方法,整理后写成bat脚本,只需要双击执行此脚本,就可以自动将垃圾文件清除。
bat批处理脚本,简单清理win7下的临时文件和缓存,一键清除垃圾
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 %...
运用CMD后台来自动清理电脑垃圾文件的一个脚本,相信应该很使用
BAT批处理脚本-清除系统垃圾文件.zip
BAT脚本 自动清理系统垃圾,方便快捷 有需要的不要错过
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和...
BAT批处理脚本-WinXP相关批处理-12个 BAT批处理脚本-加密解密-22个 BAT批处理脚本-实用的批处理...BAT批处理脚本-清理-清除-垃圾-28个 BAT批处理脚本-系统设置查询修改-硬件相关-139个 BAT批处理脚本-网络相关操作-44个
我也用过几次,clean.bat就是一个通过清理操作系统c盘临时文件和优化启动缓存来加速系统的工具。发现有时候这个脚本运行起来会比较慢,重新整理了一下脚本次序,并且将清空cookie和清空打开文件历史之类比较得不偿失...
清除垃圾批处理文件,删除垃圾。---------------------------
BAT批处理脚本
清除系统垃圾.bat @echo off echo 按Ctrl+C终止运行,按其他键开始 pause > nul setlocal enabledelayedexpansion taskkill /im explorer.exe /f cls echo explorer进程已被终止,按Ctrl+C终止运行,按其他键开始...
可以清理系统垃圾,最高超5GB/天! 运行简单方便,程序短小精悍,绝对无毒无害! 源代码基于MS-DOS指令,方便易用,经过优化上一代技术,删除垃圾更精准、更快捷、更方便、更安全! 完全傻瓜式操作,只要动动鼠标、...
BAT批处理脚本-WinXP相关批处理-12个 BAT批处理脚本-加密解密-22个 BAT批处理脚本-实用的批处理...BAT批处理脚本-清理-清除-垃圾-28个 BAT批处理脚本-系统设置查询修改-硬件相关-139个 BAT批处理脚本-网络相关操作-44个
BAT批处理脚本-WinXP相关批处理-12个 BAT批处理脚本-加密解密-22个 BAT批处理脚本-实用的批处理...BAT批处理脚本-清理-清除-垃圾-28个 BAT批处理脚本-系统设置查询修改-硬件相关-139个 BAT批处理脚本-网络相关操作-44个
为避免误触发,有些改为了txt格式,使用时请自行查看业务然后改为bat格式即可。