Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

Shell.GetCurrentDirectory

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

Parameters

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

Result

Returns path or error.

Description

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

💬 Ask a question or report a problem