getttdir

Gets the current working directory for ttpmacro.exe.

getttdir <strvar>

Remarks

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.

Example

getttdir dir
messagebox dir 'getttdir' 0
; dir is "C:\Program Files\teraterm"