OS::GetCurrentDirectory
- OS::GetCurrentDirectory(): String
-
Returns current working directory of the script process.
This function is available only in scripts run by the nxscript command line tool.
ReturnAbsolute path of the current working directory, or
nullif it cannot be determined.println(OS::GetCurrentDirectory()); // Prints, for example, "/home/netxms"