怎么样删除电脑c盘垃圾
如果长期没有对系统进行垃圾清理,那么在C盘会产生各类垃圾文件,那么怎么样删除电脑c盘垃圾呢?今天小编与大家分享下删除电脑c盘垃圾的具体操作步骤,有需要的朋友不妨了解下。
删除电脑c盘垃圾方法一
在桌面新建记事本把下面的复制进去,再把后缀改成.bat,名称可以改成清除垃圾,改好后文件名就是“清除垃圾.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 SettingsTemporary Internet Files*.*"
del /f /s /q "%userprofile%Local SettingsTemp*.*"
del /f /s /q "%userprofile%recent*.*"
echo 清除系统LJ完成!
echo. & pause
删除电脑c盘垃圾方法二
1.先来看电脑C盘现在所处的状态,用着用着都满盘了,整机运行也相当卡顿。

2.最为简单的方法就是用软件来清理,如用手工来的话容易出现删错文件会使系统崩溃的,这有点危险,使用建议使用软件来清理比较好,用的是360安全卫士,用得还可以,当然其他软件也可以,看个人喜好。打开360安全卫士,点击:“电脑清理”。

3.进入到该页面,点击一键扫描,把电脑里的缓存等垃圾文件都扫描出来。

4.扫描完后,可以看到可清理的文件,如果那些不希望清理的可以把沟去掉,或者选中要清理的,点击:“一键清理”

5.清理完再看看C盘是什么情况,这似乎没能清理多少,当然哪里只是简单的日常清理,要瘦身C盘就嘚用到手工来操作,因为一些压缩文件等,360不能识别为垃圾文件的,所以得用手工来清理一些。

6.在上面操作完后的页面,可以看到右下角有,几个蓝色词语:系统瘦身、查找大文件。先进入大文件清理。点击:”查找大文件“

7.进入页面,把C盘勾选,扫描其大文件出来

8.此时,可以看到右边的大圆圈,每种文件所占领的比例,点击圆圈看有可以看到左边的大小文件排列着,选中不要的删除了,删除要谨慎,有些文件是某软件的数据文件,使用得注意,尽量压缩文件,视频文件等删 了也差不多了 。

9.经过大文件删除后,再来看看C盘是什么的状态,横条终于变回蓝的了,这只是清理C盘的一些文件而已,如果有需要可以把安装的软件都搬到D盘去。
