清理電腦裡的垃圾

來源:互聯網
上載者:User

 

轉載自:http://zhigang0909.blog.163.com/blog/static/5828965320077221059310/

 

教大家自己寫個程式。   這個程式是自動清理電腦裡的垃圾而不會破壞系統 比很多軟體都好。 
  開啟[開始]-[所有程式]-[附件]-[記事本] 
  然後複製以下內容。 
  @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 s/*.* 
  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/*.*" 
  sfc /purgecache '清理系統硬碟無用檔案 
  defrag %systemdrive% -b '最佳化預讀資訊 
  echo 清除系統LJ完成! 
  echo. & pause 
  複製完儲存,就是點記事本左上方的 檔案 , 選儲存 ,然後更名為“清除系統LJ.bat” 就OK了,以後只要雙擊運行該檔案,當工具提示“清除系統LJ完成!就還你一個“苗條”的系統了!!到時候再看看你的電腦,是不是急速如飛呢? 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.