该脚本主要是用来清理window系统电脑的垃圾以及使用软件在系统盘产生的的临时文件,新建一个txt文本文档,名字随便起,将代码复制粘贴到该文档里面,然后保存,将后缀txt改成bat,然后双击bat脚本即可开始清理系统临时文件,没事的时候点点给电脑瘦身方法/步骤:1、鼠标右键单击,新建文本文档-(也就是)记事本,创建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% emp & md %windir% emp
del /f /q %userprofile%cookies*.*
del /f /q %userprofile%recent*.*
del /f /s /q "%userprofile%Local SettingsTemporary Internet Files*.*"
del /f /s /q "%userprofile%Local SettingsTemp*.*"
del /f /s /q "%userprofile%recent*.*"
echo 清除系统LJ完成!
echo. & pause
每天点一下,电脑运行速度更快!
如果觉得有用,点个关注收看
页面更新:2024-05-18
本站资料均由网友自行发布提供,仅用于学习交流。如有版权问题,请与我联系,QQ:4156828
© CopyRight 2020-2024 All Rights Reserved. Powered By 71396.com 闽ICP备11008920号-4
闽公网安备35020302034903号