toby9999 Posted February 10, 2012 Share Posted February 10, 2012 I have a compiled autoit3 .exe Is there a command in autoit3 so I can tell where the .exe is running from (ie which directory is the .exe located in)? Thx. Link to comment Share on other sites More sharing options...
Tonnie Posted February 10, 2012 Share Posted February 10, 2012 @ScriptDir (Result doesn't contain a trailing backslash)Also see: http://www.autoitscript.com/autoit3/docs/macros.htm Link to comment Share on other sites More sharing options...
sleepydvdr Posted February 10, 2012 Share Posted February 10, 2012 Yes, there is. The function is @ScriptDir. MsgBox(0, "", @ScriptDir) #include <ByteMe.au3> Link to comment Share on other sites More sharing options...
toby9999 Posted February 11, 2012 Author Share Posted February 11, 2012 Thx for the replies folks! 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