多语言展示
当前在线:1230今日阅读:181今日分享:30

清楚电脑垃圾

清楚电脑上一些多余的垃圾,文件夹深层清理
工具/原料

电脑

方法/步骤
1

在电脑上新建文件夹

2

复制或粘贴下面这段代码@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 清除系统垃圾完成!  echo. & pause 点击文件,进行保存

3

关闭文件夹,重命名,后缀名换做 .bat 的格式

方法/步骤2

单击文件夹,以管理员身份运行,运行完之后,关闭文件,下次直接打开使用

注意事项

命名时候注意:一定是.bat

推荐信息