Hello
I have an unexpected behaviour of an internal command, which I suppose can qualify as a BUG
This fails with latest 11.57, but also 11.51
I created an extended command:
[em_mycmd1]
cmd=SELECTFILESB
param="myfile.docx"
[em_mycmd2]
cmd=SELECTFILESB
param="my file.docx"
the result is that SELECTFILESB can find the file wich lack space in the name and cannot find the other file with space in the filename
cmd=SELECTFILESB
Moderators: petermad, Stefan2, Hacker
- sqa_wizard
- Power Member

- Posts: 3978
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
Re: cmd=SELECTFILESB
This behaviour is related to the fact, that windows always removes the outer doublequotes first.
use doublequotes twice instead:
param=""my file.docx""
use doublequotes twice instead:
param=""my file.docx""
#5767 Personal license
Re: cmd=SELECTFILESB
ghisler(Author) wrote: 2024-03-29, 14:16 UTC When reading from ini files, Windows removes any surrounding double quotes, e.g.
Editor="%COMMANDER_PATH%\AkelPad.exe" "%1"
-> %COMMANDER_PATH%\AkelPad.exe" "%1
Editor=""%COMMANDER_PATH%\AkelPad.exe" "%1""
-> "%COMMANDER_PATH%\AkelPad.exe" "%1"
Moderator message from: white » 2026-05-29, 14:33 UTC
Moved topic
» from TC11.x bug reports (English) to Total Commander (English)
» from TC11.x bug reports (English) to Total Commander (English)
