如何安全清除垃圾文件

来源:百度知道 编辑:UC知道 时间:2024/05/19 04:49:18
全能高手:

如何安全的删除.dll、注册表、控件等垃圾文件?

谢字当先!!!
编码选哪个?

用"流氓软件清理大师"清除的很干净!而且又安全!

软件不好找

手动清除系统垃圾要一个文件夹一个文件夹的找,很麻烦,我们可以利用DOS快速地删除系统中不必要的文件。方法如下:
建立一个批处理文件.(后缀名为.bst就是批处理文件)
新建一个记事本,写入或复制下面代码:

@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 "%userprof