前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >win10一键清理系统垃圾

win10一键清理系统垃圾

作者头像
用户8002245
修改2020-12-30 18:10:02
9170
修改2020-12-30 18:10:02
举报
文章被收录于专栏:数码科技数码科技

1、复制下面的文字到你的记事本中

@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

2、将文件另存到桌面,保存类型改为所有文件

win10一键清理系统垃圾
win10一键清理系统垃圾

3、然后将后缀名该为.bat

win10一键清理系统垃圾(1)
win10一键清理系统垃圾(1)

4、之后双击即可运行

win10一键清理系统垃圾(2)
win10一键清理系统垃圾(2)

5、按下键盘任意键结束即可完成清理。

win10一键清理系统垃圾(3)
win10一键清理系统垃圾(3)

本文系转载,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文系转载前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档