没用的文件夹怎么处理

来源:百度知道 编辑:UC知道 时间:2024/05/22 20:00:51
电脑用久了,装过不少游戏,软件,程序等等。虽然把它们卸载了,但是还留有一些文件夹在我的电脑里面。刚刚上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

你把上面的复制好 新建个TXT格式的文件,粘贴进去.然后点重命名,把TXT改成BAT 然后运行这个文件.就OK了

完全理解,你说的游戏,软件残余文件夹一般软件删不掉,我都是手动删除

你可以重