win8系统中如何清除垃圾文件

时间:2012-11-14 关注公众号 来源:办公族

  电脑使用时间久了,往往会常常很多垃圾文件,导致你的系统变慢,磁盘空间变小,本文小编为大家介绍一种快速清除垃圾文件的方法。

  操作步骤

  1、在windows8桌面上按鼠标右键新建“文本文档”。

<awin8系统中如何清除垃圾文件 src="https://img4.runjiapp.com/duoteimg/zixunImg/local/2012/11/14/1352855959861.jpg" width=410>

  2、复制以下代码粘贴到记事本内。

  @echo off

  color 1e

  for /r c:\ %%a in (*.tmp *.chk *.gid *._mp *.old *.bak *.log) do del /f /s /q "%%a"

  for /r c:\windows\temp %%a in (*.*) do del /f /s /q "%%a"

  for /r c:\windows\Prefetch %%a in (*.*) do del /f /s /q "%%a"

  for /r %userprofile%\AppData\Local\Temp %%a in (*.*) do del /f /s /q "%%a"

  for /r "%localappdata%\Microsoft\Windows\Temporary Internet Files" %%a in (*.*) do del /f /s /q "%%a"

  for /r %localappdata%\Microsoft\Windows\History %%a in (*.*) do del /f /s /q "%%a"

  for /r %appdata%\Microsoft\Windows\Cookies %%a in (*.*) do del /f /s /q "%%a"

  for /r %windir%\SoftwaRedistribution\Download %%a in (*) do del /f /s /q "%%a"

  for /r "%windir%\Downloaded Program Files" %%a in (*) do del /f /s /q "%%a"

  for /r %windir%\System32\LogFiles %%a in (*) do del /f /s /q "%%a"

  del /f /s /q %systemdrive%\hiberfil.sys

  pause

win8系统中如何清除垃圾文件

  3、将“记事本”后缀名改为“.bat”。

win8系统中如何清除垃圾文件

  4、最后双击“.bat”运行文件即可。

win8系统中如何清除垃圾文件

阅读全文
扫码关注“ 多特资源库
更多更全的软件资源下载
文章内容来源于网络,不代表本站立场,若侵犯到您的权益,可联系我们删除。(本站为非盈利性质网站)
玩家热搜

相关攻略

正在加载中
版权
版权说明

文章内容来源于网络,不代表本站立场,若侵犯到您的权益,可联系我们删除。(本站为非盈利性质网站)

电话:13918309914

QQ:1967830372

邮箱:rjfawu@163.com

toast