IWinShellExecuteInfo.Parameters

Syntax

Parameters: String;

Description

The Parameters property determines command line parameters, with which a file or application opens.

Example

Sub Main;

Var

Info: IWinShellExecuteInfo;

Begin

Info := New WinShellExecuteInfo.Create;

Info.Directory := "С:\Program Files\Foresight\Foresight Analytics Platform 9.2\";

Info.File := "Studio.exe";

Info.Parameters := "Test_1/Test_1@Test_1";

WinApplication.ShellExecute(Info);

End Sub Main;

On executing the example the Foresight Analytics Platform instance will be launched. The platform is started with the parameter of auto connection to the Test_1 repository scheme.

See also:

IWinShellExecuteInfo