Login Script Help
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?
Thanks
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
Thanks
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
[ + ] Show comments
Answers (0)
Please log in to answer
Be the first to answer this question
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.