To find the directory for the current user’s profile on Windows with VBScript:
Set objShell = CreateObject(”WScript.Shell”)
profile_path = objShell.ExpandEnvironmentStrings(”%USERPROFILE%”)
This method can be used to find other environment variables also.
Thank you very much!! Worked like a charm!!!!