电脑里的文件乱七八糟,也不知道那些有用那些没用,该怎么整整它啊,

来源:百度知道 编辑:UC知道 时间:2024/09/21 20:59:16
有些文件是不能删的,哪些?C盘是系统盘,放东西多了会影响速度是吗?可是我把一些东西多到D盘后,C盘的空间不见多,D盘的空间不见少,这是怎么回事?谁能帮我把电脑里东西整清楚了,追加分数哦!

很多都是不能删的,给你一个清楚系统冗余文件的批处理代码,代码如下:

@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

回去新建一个文本文件,把它输进去,然后保存的时候把后缀的文件名改成BAT,就是例如文件名为:111.bat,然后双击用管理员权限运行它,凡是没用的他都