echo y | del c:/temp/*.* /S rd c:/temp/ /s /q md c:/temp Cacls C:/TEMP /E /P EveryOne:F
Cacls命令是给temp目录的写权限分配给EveryOne