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

Shell.SetArgumentsList

Sets list of arguments.

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

Parameters

Parameter Description Example
ShellRef The reference number from the shell. $shell
List The list of arguments. "-v¶-x¶-a"

Result

Returns OK or error.

Description

Sets list of arguments.
This arguments define the list of arguments passed first on each call to Shell.Execute.
Please pass each argument in one line and no quotes around file paths.

Examples

Sets list of arguments:

Set Variable [ $s; Value: MBS( "Shell.SetArgumentsList"; $shell;

"-i" & ¶ &
$inputPath & ¶ &

"-o" & ¶ &
$outputPath & ¶ &

"-v" & ¶ &

"-l" & ¶ &
"5"

  ) ]

See also

Example Databases

This function checks for a license.

Created 11st November 2017, last changed 18th December 2022


Shell.SetArguments - Shell.SetBufferSize