电脑清理垃圾运行命令代码 |
您所在的位置:网站首页 › cad清理垃圾的代码 › 电脑清理垃圾运行命令代码 |
电脑清理垃圾运行命令代码是多少?无论是win7、win10等系统还是台式、笔记本等设备,用久了不清理垃圾就会让电脑运行缓慢,所以定期清理电脑垃圾是非常有必要的,所以今天小编就来为大家具体讲一讲电脑清理垃圾运行命令代码操作教程,有感兴趣的小伙伴可以来看一看哦。 点击进入:win11系统 电脑清理垃圾运行命令代码方法一: 1、使用键盘组合键【win+R】,输入【CMD】点击回车; 2、在下方输入【cleanmgr】点击回车; 3、在弹出的【磁盘清理:驱动器选择】框中可根据自身需要选择系统盘; 4、选择【要删除的文件】点击【确定】即可。 方法二: 1、右击桌面空白处,选择【文本文档】; 2、之后打开文本文档; 3、复制代码 @echo off pause 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 清理系统垃圾完成! echo. & pause 4、黏贴至文本文档; 5、点击“另存为”; 6、更改文件名为 系统垃圾清理.bat; 7、双击运行“系统垃圾清理.bat”; 8、此时可以按下任意键; 9、清理开始; 10、出现“系统垃圾清理完成”即可。 以上就是小编为大家带来的电脑清理垃圾运行命令代码的两种方法,这两种都很简单使用,小编建议使用第一种,希望可以帮到大家。 |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |