I am trying to run a script from an external program that will return the path to the "My Documents" folder:
Set wshshell = CreateObject("WScript.Shell")
Documents = wshShell.SpecialFolders("MyDocuments")
wshshell.SetText "tMyDocsPath", Documents
But it does not work. Can you tell me what is wrong I am a newb to VB Script
Set wshshell = CreateObject("WScript.Shell")
Documents = wshShell.SpecialFolders("MyDocuments")
wshshell.SetText "tMyDocsPath", Documents
But it does not work. Can you tell me what is wrong I am a newb to VB Script