Parameters: String;
The Parameters property determines command line parameters, with which a file or application opens.
Sub Main;
Var
Info: IWinShellExecuteInfo;
Begin
Info := New WinShellExecuteInfo.Create;
Info.Directory := "C:\Program Files\Foresight\Prognoz Platform 9\";
Info.File := "Studio.exe";
Info.Parameters := "Test_1/Test_1@Test_1";
WinApplication.ShellExecute(Info);
End Sub Main;
The Prognoz Platform 9 instance will be started on executing the example. The platform is started with the parameter of auto connection to the Test_1 repository scheme.
See also: