电脑里有很多莫名其妙地文件,怎样分辨哪些是垃圾文件
来源:百度知道 编辑:UC知道 时间:2024/06/29 21:29:03
请如下做:
1 新建一个文本文档,并另存为:清除垃圾文件.bat 文件名后缀为.bat,一定要注意,这个是一个批处理文件,存放到桌面
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