/* AHK Shell This script is basically a batch file for launching programs based on entries in an ini file (named AHKShell.ini) placed in the same folder as the script. It will need to be compiled with AHK2EXE for use as a shell. */ SetWorkingDir, %A_ScriptDir% IniRead, AppNum, AHKShell.ini, Settings, NumberOfApps, 0 Loop, %AppNum% { IniRead, App%A_Index%, AHKShell.ini, Applications, App%A_Index% } Loop, %AppNum% { CurrentCommandLine := App%A_Index% StringSplit, NameArray, CurrentCommandLine, `,,%A_Space% SplitPath, NameArray1,,ApplicationDirectory Run, "%NameArray1%" %NameArray2%, %ApplicationDirectory%, UseErrorLevel }