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).
[TC9.51 RC6] Cannot execute link to editor
Moderators: Hacker, petermad, Stefan2, white
Re: [TC9.51 RC6] Cannot execute link to editor
Confirmed
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC9.51 RC6] Cannot execute link to editor
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.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com