Page 1 of 1

[TC9.51 RC6] Cannot execute link to editor

Posted: 2020-03-20, 19:56 UTC
by hginzel
Create link n.lnk to C:\Windows\notepad.exe in let say C:\Tools.
Set Configuration→Option→Edit/Vew→Editor to C:\Tools\n.lnk "%1".
Try to edit a file (F4).
Total Commander throws message box "File not found! C:\Tools\n.lnk".
Expected behaviour is to execute linked target (with optional arguments contained in the link).

Re: [TC9.51 RC6] Cannot execute link to editor

Posted: 2020-03-21, 19:21 UTC
by petermad
Confirmed

Re: [TC9.51 RC6] Cannot execute link to editor

Posted: 2020-03-22, 11:54 UTC
by ghisler(Author)
Currently it used WinExec, for historical reasons. I could change that to something newer like ShellExecuteEx, but I fear that it would break many configurations, so I prefer to not change it for 9.51. Maybe if you had reported it earlier in the beta test.