For starters, I'm quite new to C#.
How would I go about checking if a (.exe) file exists anywhere on a pc's memory? I tried to google an answer, but only ones I came across required you to specify a directory where to look from.
I'm building an application that launches certain apps which the user selects, hence why I can't know the directory where the file is in. Is there a way of checking it without a directory, aka check if the file exists anywhere on the pc?
Alternatively, is there a way to handle an error where the selected file is not found?