Jump to content
Sign in to follow this  

finding the path of where the exe was launch

Recommended Posts


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

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...