Method TryGetFullPathForCommand
TryGetFullPathForCommand(string)
Tries to get the full path for a given command.
public static string? TryGetFullPathForCommand(string command)
Parameters
command
stringThe command to find the full path for.
Returns
- string
The full path of the command if found; otherwise, null.