vickerps Posted May 25, 2004 Share Posted May 25, 2004 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. Link to comment Share on other sites More sharing options...
Valik Posted May 25, 2004 Share Posted May 25, 2004 @ScriptFullPath? Link to comment Share on other sites More sharing options...
vickerps Posted May 25, 2004 Author Share Posted May 25, 2004 how did i miss that one Thanks Valik Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now