petersboulton wrote:I copied each command line directly off the page and pasted it into the Ctrl+G dialog in XYplorer and with both command lines absolutely nothing happened! Photopaint did not start and no error messages were posted.
well, that's odd. You should have had either an error message from XY (if quick scripting wasn't enabled or the file.exe couldn't be found), or the app should have been started
Anyways, based on your result it seems that, for some odd reason, Photopaint doesn't like it when there are quotes, only when there are not, which means yes, it works opposite as everybody else!
petersboulton wrote:I would say the third one (no inverted commas around app path, inverted commas around image path) is 'correct' as far as the way I understand Windows expects to be able to launch processes.
Yes, actually both the second & third are correct. You can quote a path/name even if there are no spaces, but most of the time you have to when there are. This is however one rare case where you should not even when there are spaces! (Which means Photopaint cannot be sent more than one file names, obviously)
As for XY, I don't think there's a workaround right now, because even using script the variable <items> is always auto-quoted to avoid problems (well, it usually does avoid problems...

). The only thin I can think of right now would be to use the following PFA, but that means it will only work if you select one and only one item and it has focus -- so basically you if you click on one item, not more. (Selecting more items would result in XY trying to open the same item as many times as there are selected items, because it uses <curitem> as this one isn't "auto-quoted")
Code: Select all
jpg>::open '"C:\Corel\Draw70\programs\photopnt.exe" <curitem>';
That's for now, but Don might allow a way to use a non-quoted <items> in the future...