SolidWorks專門論壇 SolidWorks forum

 找回密碼
 註冊
查看: 7730|回復: 3

刪除不必要的暫存檔

[複製鏈接]
發表於 2008/11/19 14:49:41 | 顯示全部樓層 |閱讀模式
電腦變慢了 要重組電腦前用這個程式  不需安裝直接執行
6.png

clean.bat

682 Bytes, 下載次數: 255

發表於 2013/8/3 13:06:21 | 顯示全部樓層
@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

這是原始檔案
存在記事本中
檔名取為  clean.bat


點評

為何連bak都要一起刪?那下次要印圖檔時不就還要再重新定義?  發表於 2013/8/3 13:16
發表於 2013/8/3 13:09:05 | 顯示全部樓層
2013-8-3 下午 01-04-54.png

有一些檔案無法刪除
發表於 2013/8/3 18:29:15 | 顯示全部樓層
目前系統正在用呀!
您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

手機版上論壇|論壇來自幾何科技 論壇架構版次 20240312

GMT+8, 2024/4/27 11:10 , Processed in 0.127613 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回復 返回頂部 返回列表