当前位置:首页 » 文件管理 » 怎样清理缓存垃圾

怎样清理缓存垃圾

发布时间: 2023-08-12 16:50:38

Ⅰ 电脑如何清理缓存

操作方法

01
清理电脑缓存的方法
第一种方法:使用cleanmgr /sageset:99和cleanmgr /sagerun:99命令设置特别磁盘清理模式清理电脑缓存垃圾。
步骤:
开始 - 运行输入:cleanmgr /sageset:99,确定或者回车,打开磁盘清理设置;

02
在打开的磁盘清理设置窗口,我们把想要清理的项目打上勾(在这个设置窗口,我们可以发现可以清理的项目比打开计算机,右键属性中的磁盘清理项目要多很多),再点击:确定;

03
点击确定以后,再点击:开始 - 运行,输入:cleanmgr /sagerun:99,确定或者回车,进行磁盘清理。

04
第二种方法:编辑一个“清理.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

05
左键点击记事本左上角的“文件”,在下拉菜单中点击:另存为:

06
在打开的另存为窗口,我们在文件名(N)栏输入:清理.bat,再点击:保存(S);

07
这时桌面上会出现一个“
清理”的文件图标,我们左键双击:清理图标;

08
正在进行清理,清理完成后,按任意键退出。

09
上述是清理电脑缓存垃圾的两种方法,供朋友们参考。

热点内容
java返回this 发布:2025-10-20 08:28:16 浏览:603
制作脚本网站 发布:2025-10-20 08:17:34 浏览:895
python中的init方法 发布:2025-10-20 08:17:33 浏览:589
图案密码什么意思 发布:2025-10-20 08:16:56 浏览:774
怎么清理微信视频缓存 发布:2025-10-20 08:12:37 浏览:693
c语言编译器怎么看执行过程 发布:2025-10-20 08:00:32 浏览:1020
邮箱如何填写发信服务器 发布:2025-10-20 07:45:27 浏览:264
shell脚本入门案例 发布:2025-10-20 07:44:45 浏览:123
怎么上传照片浏览上传 发布:2025-10-20 07:44:03 浏览:813
python股票数据获取 发布:2025-10-20 07:39:44 浏览:722