/build/static/layout/Breadcrumb_cap_w.png

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

0 Comments   [ + ] Show comments

Answers (0)

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.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ