MQL4参考 检测 TerminalPath

TerminalPath

Returns the directory, from which the client terminal was launched.

string  TerminalPath();

Returned value

The directory, from which the client terminal was launched.

Example:

  Print("Working directory is ",TerminalPath());

See also

TerminalCompany(), TerminalName()