Have you ever needed to merely determine the full path of the location where a vbscript is located? I t really isn’t that hard, once you know how to do it! Below is one method to determine directory path of the executing vbscript.
sVBSPath = Left(WScript.ScriptFullName,(Len(WScript.ScriptFullName) _
- (Len(WScript.ScriptName) + 1)))
msgbox sVBSPath