This is unfortunate for a couple reasons:
1) Many programs can create a new file when passed a non-existent path. (i.e. notepad C:\newFile.txt) In general this might not be useful in XY since it's hard to double-click a non-existing item, but it could be nice for scripts which want to respect the user's associations. However, by failing early XY will never pass a non-existing path to a PFA match.
2) XY still being a 32-bit program means Windows resolves shortcuts containing %ProgramFiles% to the x86 directory, which often means the target cannot be found. Again by failing before the PFA the user cannot correct this behavior so that those shortcuts can actually be opened.
I propose that the exists test (or at least the error dialog) be moved such that:
- It occurs after the PFA list is checked.
- If no match is found then it checks if the item exists, and throws the error when it does not.
- Otherwise it's a PFA match and XY should only check that the associated program exists, not the item being passed to it.
As this may be a radical change I feel it might be appropriate (and don't mind) if this were buried in a tweak.
Thank you!
XYplorer Beta Club