搜索

如何一键清理电脑系统垃圾?

发布网友 发布时间:2022-02-23 03:08

我来回答

2个回答

热心网友 时间:2022-02-23 04:38

1、首先右击“新建”  【“文本文档”】

2、文件名的后缀必须为“bat”。

3、该文本文档右击选择“编辑”。

4、然后复制以下代码到记事本中:

@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

5、然后双击运行,就完成了清理系统。

热心网友 时间:2022-02-23 05:56

第一步,在桌面上创建一个新记事本,也就是文本文档txt.

第二步,打开文本文档,将这些文字复制进去
@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

第三步, 点"文件"--"另存为". 然后把文件名改为"清除系统LJ.bat"
( 注意后缀名一定是".bat") , 其余的不用管,点保存就可以了.

最后,在桌面上打开"清除系统LJ",OK!
声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。
E-MAIL:11247931@qq.com
Top