LATEST UPDATES
ShareHolder Finder v0.9.3 is now released!!! Check Product Page for more details.
✉ info@automationdevelopers.com

ITS ALL ABOUT AUTOMATION

Sunday, 14 August 2016

AutoIt - Get Script (or Executable) Folder Path


Author Post Date Sunday, 14 August 2016
Macro Name: @ScriptDir

Returns the folder path of currently running script or compiled executable.

Example:

#include <MsgBoxConstants.au3>

;Display script/ executable folder path
MsgBox($MB_SYSTEMMODAL, "Script Directory", @ScriptDir)

Related Posts




Interesting? Share and Let Others Know.

Post a comment