I am using Total Commander (11.50b5x64, Win10 19045.2673) with ConEmu (latest) as my console emulator. In ConEmu, I have enabled the Settings -> Integration-> Default Term "Use existing ConEmu window if avaliable" option. This allows new console commands to open in an existing ConEmu tab if one is already open. I frequently run console applications from Total Commander via button configurations that use the %L parameter, which generates a temporary file containing the list of selected files.
Problem:
When the "Use existing ConEmu window if avaliable" option is enabled, and the first tab in ConEmu already is launched the temporary file (e.g., C:\Temp\CMDxxxx.tmp) for %L is not created. As a result, the console application in ConEmu reports an error indicating that it cannot find the temporary file.
Example of button configuration in Total Commander:Expected Behavior:
The temporary %L file should be created correctly in any new ConEmu tab, regardless of the shell in the first tab or the status of the "Use existing ConEmu window if avaliable" option.
Question:
Is there a way to resolve or work around this issue so that the %L temporary file is always created correctly with ConEmu’s "Use existing ConEmu window if avaliable" option enabled?
Image: https://i.imgur.com/29H3672.gif
Problem:
When the "Use existing ConEmu window if avaliable" option is enabled, and the first tab in ConEmu already is launched the temporary file (e.g., C:\Temp\CMDxxxx.tmp) for %L is not created. As a result, the console application in ConEmu reports an error indicating that it cannot find the temporary file.
Example of button configuration in Total Commander:
Code:
TOTALCMD#BAR#DATAcmd /k type%Limageres.dll-1
The temporary %L file should be created correctly in any new ConEmu tab, regardless of the shell in the first tab or the status of the "Use existing ConEmu window if avaliable" option.
Question:
Is there a way to resolve or work around this issue so that the %L temporary file is always created correctly with ConEmu’s "Use existing ConEmu window if avaliable" option enabled?
Image: https://i.imgur.com/29H3672.gif
Statistics: Posted by sergiokapone — 2024-11-12, 09:27 UTC