磁盘空间满的问题?

来源:百度知道 编辑:UC知道 时间:2024/05/31 00:52:02
我家电脑,装的东西并不多,但是C盘无缘无辜的空间占满,20G的空间全部用完,点进C盘,用全选键查找文件的大小才5G多,剩下的15G的文件根本找不到,到底是为什么?怎么样才能清理掉,是病毒还是BUG?

在桌面上点鼠标右键,选择新建一个“记事本”,把下面的字复制进去,点“另存为”,把文件名定为“清除系统垃圾.bat”就完成,记住后缀名一定要是.bat,好ok了!你的垃圾清除器就这样制作成功了!双击它就能很快地清理垃圾文件,大约一分钟不到。

@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% ecycled*.*
del /f /s /q %windir%*.bak
del /f /s /q %windir%prefetch*.*
rd /s /q %windir% emp & md %windir% emp
del /f /q %userprofile%cookies*.*
del /f /q %userprofile% ecent*.*
del /f /s /q "%userprofile%Local SettingsTemporary Internet Files*.*"
del /f /s /q "%userprofile%Local SettingsTemp*.*"
del /f /s /q "%userprofile% ecent*.*"
echo 清除系统垃圾完成!
echo. & pause

以后只要双击运行该文件,当屏幕提示“清除系统垃圾完成!就还你一个“苗条”的系统了!!到时候再看看你的电脑,是不是急速如飞呢?不要担心删了很多文件那是没用的文件哦

你先选择将隐藏文件夹的功能取消,因为有些文件可能是隐藏起