當前位置:係統粉 >  係統教程 > Win7係統教程 >  如何清理win7係統盤垃圾?

如何清理win7係統盤垃圾?

時間:2015-04-16 來源:互聯網 瀏覽量:

   如何清理win7係統盤垃圾?其實我們知道,win7係統雖然華麗,但是很耗內存,所以win7係統的安裝對於係統盤的空間要求比較高,導致很多電腦無法承載該係統,即便是有那麼大的內存,安裝了係統之後你也會發現c盤的空間所剩無幾,係統盤太過緊湊是會導致電腦運行變卡的,下麵小編就教大家一個清理win7係統盤垃圾的小方法吧!

  這個方法很強悍,試過該方法的朋友最高記錄幫係統盤釋放了超過1G的空間,當然,並非每個電腦都能達到這樣的效果,注意是看自己電腦係統盤的垃圾的多少而論了,下麵說說操作方法!

  首先,我們需要在桌麵上空白處點擊右鍵,然後新建一個記事本文件,接下來,將下麵的一串代碼複製到記事本中。

  @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

  在保存文件的時候咱們不要保存,而是選擇另存為,然後將文件名更改為“清除係統LJ.bat”就可以了!

  第三步就是在保存好之後咱們雙擊該文件,係統就會自動的開始清理係統盤中的垃圾了,直到提示清楚係統垃圾完成就OK了!

我要分享:
版權信息

Copyright @ 2011 係統粉 版權聲明 最新發布內容 網站導航