怎样清除电脑磁盘中的垃圾文件
1、清理系统垃圾
如下dos命令是一个非常简单省时的方法,1分钟搞定!
新建一个记事本文件,将如下内容复制粘贴进去:
@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 恭喜你,清理完成!
echo. & pause
完成之后保存并修改后缀名为.bat,然后双击该文件即可运行清理程序了;

2、全卫士进行全面或单项清理;
双击软件→“电脑清理”→“全面清理”或“单项清理”,此方法应用较多;


3、鲁大师的清理优化功能;
双击软件→“清理优化”→“一键清理”,注意可以选择性清理垃圾;


4、人工清理 磁盘中存放的一些无用的文档或影音文件,若长期未使用且今后使用的可能性也很小的话,也当及时删除以节省磁盘空间,因为此类文件用软件是无法识别的,当需人工清理;

5、除此之外还有运行cmd命令等方法处理垃圾,步骤略微繁琐,在此不赘述。