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.GetArgument

Queries argument.

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

Parameters

Parameter Description Example
ShellRef The reference number from the shell. $shell
Index The index of the argument to query.
Range from 0 to Shell.GetArgumentCount-1.
0

Result

Returns text or error.

Description

Queries argument.

See also

Release notes

This function checks for a license.

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


Shell.GetApplicationName - Shell.GetArgumentCount

💬 Ask a question or report a problem