I use the following code to extract the user's default path to their "My Documents". My question is,is this example extracting for the registry, if no then where? Reason, we have one workstation that is failing. Therefore, we need to figure out why the MyDocuments exists via explorer but fails via wshshell for that user only.
WshShell = CreateObject("WScript.Shell")
RETURN (WshShell.SpecialFolders("MyDocuments"))
Best Regards,
Lee Roy J. Pitre, Jr, AAS, BA, MS
Pitre Computer Consultant & Associates
http://pitres.us