朋友们在使用Windows系统过程中,随着使用时间越长,产生的临时文件越多,一方面占用了磁盘空间,另一方面也拖慢了系统运行速度。
市面上已经有很多清理软件了,编者下面介绍一种不用软件清理临时文件的方法。原理是用批处理命令,查找并删除系统目录下对应文件扩展的临时文件、日志文件、检测记录文件、备份文件等。
相关影片资源迅雷下载推荐
win7怎么识别4t硬盘(win74t硬盘只识别2t怎么解决)
拷贝如下代码到记事本,另存为扩展名为“.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
批处理一键清理系统垃圾文件
相关影片资源迅雷下载推荐
win8怎么设置虚拟内存(虚拟内存如何设置最佳)
版权声明:除非特别标注,否则均为本站原创文章,转载时请以链接形式注明文章出处。