Method ExistsOnPathUsingWhere
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
stringExecutable name with or without extension.
whereCmd
stringCommand name used to find path to the executable. Optional. If not specified or Null, uses 'where' command.