是否注意到你的電腦系統磁盤的可用空間正在一天天在減少呢?是不是動作一天比一天遲緩呢? 在Windows在安裝和使用過程中都會產生相當多的垃圾文件,包括臨時文件(如:*.tmp、*._mp)日誌文件(*.log)、臨時幫助文件(*.gid)、磁盤檢查文件(*.chk)、臨時備份文件(如:*.old、*.bak)以及其他臨時文件。特別是如果一段時間不清理IE的臨時文件夾「Temporary Internet Files」,其中的緩存文件有時會佔用上百MB的磁盤空間。這些LJ文件不僅僅浪費了寶貴的磁盤空間,嚴重時還會使系統運行慢如蝸牛。現在就讓我們一起來快速清除系統垃圾吧!! 下面是步驟很簡單就兩步! 1.開啟記事本 2.複製以下內容貼到記事本中 [Copy to clipboard] [ - ] CODE: @echo on echo Progressing...Cleaning your system's rubbish. 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%\*.db 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\*.*" del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*" 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\ rd/s/q \"%userprofile%\Local Settings\Temporary Internet Files\" rd/s/q %windir%\temp & md %windir%\tempemp% &md %temp% %windir%\system32\sfc.exe /purgecache %windir%\system32\defrag.exe %systemdrive% -b sfc /purgecache net user aspnet /delete DEL /S /F /Q "%AllUsersProfile%\「開始」功能表\程式集\Windows Messenger.lnk" DEL /S /F /Q "%systemroot%\Temp\*.*" cleanmgr /sagerun:99 echo Finish!! echo 清除系統垃圾檔案完成!!& pause 3.另存新檔...檔案名為"清除系統垃圾.bat",而原本會出現的*.txt不要!,另外存放位置建議在桌面,因為好找 4.點擊存好在桌面的那個檔案就會跑出黑白視窗了 -------------------------------------[工商服務]-------------------------------------
文章標籤
全站熱搜
創作者介紹
創作者 po123442 的頭像
po123442

阿噗

po123442 發表在 痞客邦 留言(0) 人氣(453)