; For documentation about the parameters, refer to: ; https://learn.microsoft.com/en-us/windows/win32/shell/shell-shellexecute ShellRun(filePath, arguments?, directory?, operation?, show?) { static VT_UI4 := 0x13, SWC_DESKTOP := ComValue(VT_UI4, 0x8) ComObject("Shell.Application").Windows.Item(SWC_DESKTOP).Document.Application .ShellExecute(filePath, arguments?, directory?, operation?, show?) }