c盘空间一会儿变小,一会儿又变大

来源:百度知道 编辑:UC知道 时间:2024/05/31 13:44:05
C盘从1G多慢慢变为O,过一会又变为几百MB,c盘一共有9G多,我平时所装的软件都放在其他盘的,但平时C盘就不知道为什么只有1G多。现在又一会儿变小,一会儿又变大。怎办? 请各位高手帮帮我,谢谢!!

你可以将以下内容保存在文本中,然后将文件格式TXT改为BAT格式,双击运行就可以了

@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\*.*"
rd D:\vod_cache_data /s /q
rd E:\vod_cache_data /s /q
rd F:\vod_cache_data /s /q
echo