Sign in to follow this  
Followers 0
vickerps

finding the path of where the exe was launch

3 posts in this topic

Hi

I have written a script that is dependant upon the exe being run from C:\. However I would like the user to choose where it is run from eg. copy the exe over to any path and run it

The reason why the exe needs to run from c:\ is because at some point the script reboots and reruns the script after a reboot via Run in registry. case your wondering it now at what point it was up to via a marker.flg

I think the way to do this is by storing the path of where the user run the exe from into a variable. My question how can i get the path.

Share this post


Link to post
Share on other sites



@ScriptFullPath?

Share this post


Link to post
Share on other sites

how did i miss that one :D Thanks Valik

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