新的电脑

来源:百度知道 编辑:UC知道 时间:2024/06/17 05:29:18
新的电脑,那些盘中(除C盘中)原有哪些文件
我要大删除(有没有谁知道怎样删除一些程序中的文件,因为我分不清哪些是有用的系统文件,哪些是遗留的无用文件)

@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
将上面的内容复制到记事本文档,另存为批处理文件。然后打开。

1.隐藏的文件,最好不要动!
2.windows这个文件夹里的东西不要动!
3.program file 里程序你可以在控制