Gets the current working directory for ttpmacro.exe. (version 4.60 or later)
getttdir <strvar>
The ttpmacro.exe directory is stored in the <strvar> string variable.
If the directory is gotten successfully, the system variable "result" is set to 0. Otherwise, "result" is set to zero.
getttdir dir messagebox dir 'getttdir' 0 ; dir is "C:\Program Files\teraterm"