superleo
asked on
VBScript problem.
Dear all experts,
I would like to write a .vbs VBScript program to popup the current path. How can I get such result?
TestPath.vbs
-------------------------- ---
msgbox (App.Path)
It is seem that the App.Path is not work in above program.
Please advise, thank you very much.
superleo
I would like to write a .vbs VBScript program to popup the current path. How can I get such result?
TestPath.vbs
--------------------------
msgbox (App.Path)
It is seem that the App.Path is not work in above program.
Please advise, thank you very much.
superleo
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks.
scriptfile = WScript.ScriptFullName
Msgbox scriptfile
Set fso = CreateObject("Scripting.Fi
Set f = fso.GetFile(scriptfile)
Msgbox f.ParentFolder
Leon