Closed jstarks closed 2 years ago
If it's valid to execute foo.docx
or http://foo
and it just gets handed to ShellExecute, should we do the same thing with directories, thereby opening explorer? In both cases the likely result is launching a GUI program, and it sounds like executing a directory is guaranteed to fail today.
Currently, yori will try to run a directory
notepad.exe
if it's in the PATH, or will try to run.
or..
if typed. This leads to confusing access denied error messages.Instead, when searching for candidate executables, filter out directories.