房天下 > 房天下问答 > 业主生活 > 其他
  • 怎样清理C盘系统垃圾文件

    怎样清理C盘系统垃圾文件

    提问者:西北安全联盟

    发布于2010-12-01

共1个回答
  • chehaifeng 丨Lv 4
    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完成!输入任意继续....pause然后把这个文本文档的后缀名(原来是txt)改成bat,保存,然后打开,就OK了.注意事项del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"这个句子就是清除的IE缓存。有些文件清除不了是因为这些文件正在被使用,比如说你在打开网页的时候IE缓存里面的某些图片就没办法给删除。你可以在安全模式下运行一下,保证非常干净。
    +1 2010-12-01 举报
热门人气推荐
免责声明:问答内容均来源于互联网用户,房天下对其内容不负责任,如有版权或其他问题可以联系房天下进行删除。