Hello. Has anyone ever deleted temp files via login script? Here's the script i want to use. So far I tested with users and they are not having any issues. Do you think I should do a mkdir command to re-create the Temporary Internet Files folder if it gets deleted?

DEL /s/q/f "C:\Documents and Settings\%username%\Local Settings\Temp\*.tmp"

DEL /s/q/f "C:\Documents and Settings\%username%\Local Settings\Temporary Internet Files\*.*"
RD /s/q "C:\Documents and Settings\%username%\Local Settings\Temporary Internet Files"

DEL /s/q/f c:\windows\temp\*.*
RD /s/q c:\windows\temp
0 Comments   [ - ] Hide Comments


Please log in to comment

There are no answers at this time
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity