Method ShellExecute
ShellExecute(string, string?, string?)
Uses Process to start the application.
public static bool ShellExecute(string filePath, string? args = null, string? folder = null)
Parameters
filePath
stringPath to the application.
args
stringSet of command-line arguments to use when starting the application. See Arguments
folder
stringInitial directory. See WorkingDirectory
Returns
- bool
true
if operation is successful;false
otherwise.
Remarks
Uses shell execute to start the process.