批处理应用:临时目录清理

来源:互联网 发布:i56300hq编程 编辑:程序博客网 时间:2024/06/07 20:44
@echo off
rem 可以创建一个快捷方式到D:/Documents and Settings/All Users/「开始」菜单/程序/启动
rd %temp% /q /s & md %temp%
rd %tmp% /q /s & md %tmp%
rd %windir%/temp /q /s & md %windir%/temp
rd "%USERPROFILE%/Local Settings/Temporary Internet Files" /q /s