script win
@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
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
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/12932950/viewspace-567576/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Script
- 請說說`<script>`、`<script async>`和`<script defer>`的區別
- Script Browser & Script Analyzer 1.3更新發布
- Shell Script
- shell script
- oracle scriptOracle
- bat scriptBAT
- script標籤
- [Oracle Script] LockOracle
- Tablespace Space Script
- Cold backup script
- Oracle Database ScriptOracleDatabase
- tom's script
- Shell Script(轉)
- QlikView Script – 進階篇1 Script呼叫Macro之變化ViewMac
- MySQL Server Startup ScriptMySqlServer
- npm script中&&和&NPM
- Elasticsearch script sort 排序Elasticsearch排序
- JavaScript <script>標籤JavaScript
- [Oracle Script] Top sqlOracleSQL
- script error總結Error
- script元素屬性
- [Oracle Script] check userOracle
- [Oracle Script] check latchOracle
- how to use coffee script
- Script form where usedORM
- "Continuum for phones" script
- Oracle kill session scriptOracleSession
- One very useful script
- sql server schedule scriptSQLServer
- check ftp success scriptFTP
- rman backup script(引用)
- Cold Database backup scriptDatabase
- IPTables配置Script(轉)
- ORACLE常用Script(轉)Oracle
- ORACLE常用Script (轉)Oracle
- shell script to rename directory
- Script: Script to Simplify the Use of Explain Plan (Doc ID 1019631.6)AI