Sign in to follow this  
Followers 0
gleem

Getting path of where the current script is running from.

3 posts in this topic

I am trying to write an updater script for my program on my network. However, I keep multiple backups of my source and program code and label them in different directories according to their version numbers and dates.

being that the program folder changes, I am trying to write a line of code that would get the path of where the program sits regardless of where it is.

very similar to : DriveMapGet

Share this post


Link to post
Share on other sites



@ScriptDir ? is what your looking for

msgbox(0, "", @ScriptDir)

Share this post


Link to post
Share on other sites

@ScriptDir ? is what your looking for

msgbox(0, "", @ScriptDir)

Yes... thank you.. I will try this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0