Gets the current working directory for ttpmacro.exe.
getttdir <strvar>
The ttpmacro.exe directory is stored in the <strvar> string variable.
getttdir dir messagebox dir 'getttdir' 0 ; dir is "C:\Program Files\teraterm"