Option to escape semicolon in command line needed
Posted: 17.01.2026, 15:45
I have favorite toolbar entry to start windows terminal in active or selected directory, but this does not work if directory name contains semicolon.
E.g. if you have a directory "D:\temp\a;b"
and toolbar entry:
it does not work, and the cmd-syntax for replace is obviously not supported, command does not work at all with:
In the shell the command
does not work either, but
or
works.
FC 2026 Build 940 64-bit in Win11 25H2
E.g. if you have a directory "D:\temp\a;b"
and toolbar entry:
Code: Select all
Name: wt cmd ActivSel
Program: wt.exe
Parameter: --window 0 new-tab --profile "Eingabeaufforderung" -d "%ActivDir%\%ActivItem%"
Code: Select all
"%ActivItem:;=\;%"Code: Select all
wt --window 0 new-tab --profile "Eingabeaufforderung" -d "D:\temp\a;b"Code: Select all
wt --window 0 new-tab --profile "Eingabeaufforderung" -d "D:\temp\a\;b"Code: Select all
set "_temp=D:\temp\a;b"
wt --window 0 new-tab --profile "Eingabeaufforderung" -d "%_temp:;=\;%"
FC 2026 Build 940 64-bit in Win11 25H2