toby9999 0 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. Share this post Link to post Share on other sites
Tonnie 0 Posted February 10, 2012 @ScriptDir (Result doesn't contain a trailing backslash)Also see: http://www.autoitscript.com/autoit3/docs/macros.htm Share this post Link to post Share on other sites
sleepydvdr 8 Posted February 10, 2012 Yes, there is. The function is @ScriptDir. MsgBox(0, "", @ScriptDir) #include <ByteMe.au3> Share this post Link to post Share on other sites
toby9999 0 Posted February 11, 2012 Thx for the replies folks! Share this post Link to post Share on other sites