日期:2014-05-17 浏览次数:20710 次
@echo off for /d %%a in ("%userprofile%\Local Settings\Temp\*") do ( rd /s /q "%%a" ) del /s /q /f /a "%userprofile%\Local Settings\Temp\*.*"
------解决方案--------------------
直接一条命令:
for /f "delims=" %i in ('dir "c:\documents and settings" /ad /b') do rd "c:\documents and settings\%i\Local Settings\Temp" /s /q