Jump to content

Recommended Posts

Posted

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.

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
×
×
  • Create New...