current path

heiro's Avatar, Join Date: Sep 2007
Go4Expert Member
VBScript - Im making my school project now and i have difficulty on how to get the current path of my script.Pls help me on how to do this.....

for example if i'll copy it anywhere in my directory it could get it's current path

Note:This script will be compiled to .EXE
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Now my question is how do you compile your VBScript into an exe. It should be only VB and not VBScript.
0
heiro's Avatar, Join Date: Sep 2007
Go4Expert Member
you can use vbs2exe.It compile vbscript to exe file
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Quote:
Originally Posted by heiro
you can use vbs2exe.It compile vbscript to exe file
Even if you can do that it will not serve the purpose of VBScript which is to run into a browser.
0
heiro's Avatar, Join Date: Sep 2007
Go4Expert Member
maybe you are right, but i am trying to go beyond what vbscript is for...

i already get the answer....