Table of Contents

Method ExistsOnPathUsingWhere

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

ExistsOnPathUsingWhere(string, string?)

Checks whether executable with the specified name exists on path. Uses 'where' or similar command.

public static bool ExistsOnPathUsingWhere(string exeName, string? whereCmd = null)

Parameters

exeName string

Executable name with or without extension.

whereCmd string

Command name used to find path to the executable. Optional. If not specified or Null, uses 'where' command.

Returns

bool