Table of Contents

Method ShellExecute

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

ShellExecute(string, string?, string?)

Uses Process to start the application.

public static bool ShellExecute(string filePath, string? args = null, string? folder = null)

Parameters

filePath string

Path to the application.

args string

Set of command-line arguments to use when starting the application. See Arguments

folder string

Initial directory. See WorkingDirectory

Returns

bool

true if operation is successful; false otherwise.

Remarks

Uses shell execute to start the process.