Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Queries current directory path.

Component Version macOS Windows Linux Server iOS SDK
Shell 7.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ❌ No
MBS( "Shell.GetCurrentDirectory"; ShellRef )   More


Parameter Description Example
ShellRef The reference number from the shell. $shell


Returns path or error.


Queries current directory path.
This is the native path to use as current directory for the child process.

See also

This function is free to use.

Created 11st November 2017, last changed 11st November 2017

Shell.GetCompletedScriptName - Shell.GetDataAvailableEvaluate