The below basic script is an example of how to retrieve the path to the current users local profile.
Set objShell = CreateObject("WScript.Shell") userProfilePath = objShell.ExpandEnvironmentStrings("%UserProfile%") wscript.echo userProfilePath
The below basic script is an example of how to retrieve the path to the current users local profile.
Set objShell = CreateObject("WScript.Shell") userProfilePath = objShell.ExpandEnvironmentStrings("%UserProfile%") wscript.echo userProfilePath