Wrong program launched from CD bug: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(backlink) |
||
Line 20: | Line 20: | ||
* My Program - Languages.Exe | * My Program - Languages.Exe | ||
Back to [[Known version-lasting bugs without workaround]] | |||
No matter which of those three is double clicked, "My Program.Exe" will always be launched instead. | No matter which of those three is double clicked, "My Program.Exe" will always be launched instead. | ||
Revision as of 19:10, 7 January 2007
Will be fixed with the release of Total Commander 7 Beta 3
The following preconditions must be met:
- Multiple programs (.exe files) with the same beginning of the Filename in the same folder
- Filename is longer than 8.3 characters
- The programs are located on a CD
Bug description:
Double clicking or pressing enter on a program with similar beginning of the filename results in launching the program with the shortest similar name.
Example:
- My Program.Exe
- My Program - Plugins.Exe
- My Program - Languages.Exe
Back to Known version-lasting bugs without workaround No matter which of those three is double clicked, "My Program.Exe" will always be launched instead.
Reason:
Delphi function "WinExec" needs to be called with a preceeding and succeeding \" in order to work correctly with long filenames that contain spaces.
Workarounds:
- Shift+Enter / Shift+double click on filename (actually meant for starting a command line application without closing the output window)
- Ctrl+Enter, Enter / Ctrl+Shift+Enter, Enter on filename for copying filename to TC's command line and launching it.