热门装机教程
装机教程
您现在的位置: 首页 > 装机教程

Win7系统下清理C盘用户文件夹的方法

来源:黑云一键重装系统    发布时间:2017-03-29 17:31:35

     我们使用Win7系统的过程中,都在电脑中下载越来越多的软件,随着下载量的增多,那么电脑C盘中文件夹也在不断的增多,这样以来就导致运行速度变的慢了。对于这样的情况那么我们要怎样清理C盘用户文件夹呢?下面我们就一起来看看具体的操作方法

    具体解决方法如下:

    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

 

220fc37b9f852f8fb9538a30e7eab764.jpg

 

    2、点击“文件”-“另存为”,将保存类型修改为“所有文件”,将文件名修改为“清理.bat” 点击“保存”,然后直接运行该批处理即可。

 

290f86d2a1f81b65b2e93ed614728247.jpg

 

    关于怎样清理C盘用户文件夹的全部内容就介绍完了,要是用户觉得Win7系统的运行速度变慢了,那么可以参考以上的方法,把C盘用户文件夹清理一下,这样你就会发现运行速度有明显的加快。