Console.GetCurrentDirectory
Skip to content
mnscript
string Console.GetCurrentDirectory() 

Description ​

Gets the current directory of the Maxnet terminal

Returns ​

string - The directory string

Example ​

msc
using Console;
                
// This puts the current directory path in the variable.

string directoryPath = Console.GetCurrentDirectory();