This should answer your questions on how to handle the %Profile% in a string, it will also pull the temp dir directly from the users reg-file so that you hit the correct directory regardless of where it’s at.
On Error Resume Next
Set WSHShell = CreateObject("WScript.Shell")
Set WSHNetwork =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.