我想清除电脑拉圾文件。我电脑上网比刚买来慢了很多,不知如何是好,请大家多多指点

来源:百度知道 编辑:UC知道 时间:2024/05/09 16:30:38
我电脑上网比刚买来慢了很多,不知如何是好,请大家多多指点,比如是操作问题还是要清除问题?

用记事本编写下列文件:
@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\*.*"
exit

然后保存为BAT后缀的

这个文件被我改过,比较好用

自己写清理系统垃圾文件的程序

先建一个文本文档,然后在里面写上这些字

@echo off
echo 正在清理系统垃圾文件,请稍