KEYSTACK and double-double quotes dropping spaces

Jan 22, 2009
As documented,
KEYSTACK "abc " ""def""​
abc "def"​

As not documented
KEYSTACK ""abc "" "def"​
"abc" def​

All spaces in double-double quoted strings are dropped. Is this a bug?
Aug 2, 2011
Berlin, Germany
this one is funny, too:

>KEYSTACK "abc " "" def""

>abc "def""


>KEYSTACK "abc " "" ""

>abc ""


Staff member
May 14, 2008
WAD; KEYSTACK is correct; the help is wrong (or at least incomplete).

Two double quotes does not make a single leading double quote for a string argument, it just makes a single double quote, unrelated to anything that follows. So in your example, what you would want to enter is:

> keystack "" "abc" "" " def"
>"abc" def
Similar threads
Thread starter Title Forum Replies Date
vefatica KEYSTACK Alt-" "? Support 6
vefatica KEYSTACK and someone else's MessageBox? Support 1
vefatica KEYSTACK? Support 1
vefatica Can KEYSTACK send Alt-1 (Alt-2 ...)? Support 6
vefatica Fixed KEYSTACK /i with repeat count sends wrong keys Support 7
B How to? Send backslash with keystack Support 1
S WAD KEYSTACK fails in TCC-64 Support 2
vefatica WAD DO ... (KEYSTACK /w ...) Support 18
S Documentation KEYSTACK - has this feature been dropped? Support 5
S How to? Coordinating KEYSTACK action with webpage action Support 1
C Size of keystack buffer? Support 2
C How to? KEYSTACK's /W number for 5 minutes Support 2
C keystack Support 1
U Keystack mangles 'special' characters Support 6
S KEYSTACK and caps lock Support 9
B Start and keystack do not work in batch file Support 1
B A swedish character sent through keystack gets converted Support 4
Charles Dye KEYSTACK ! Support 0
vefatica Literal double quotes in SHORTCUT's "args" parameter? Support 6
D Double Quote in TC Tool Bar Button Command line Support 3
vefatica Why does @WSLPATH double the leading '/'? Support 7
vefatica Remove double-quotes with TPIPE Support 4
T TPipe: Replacing String with Double Quotes Support 3
G Selection characters with mouse double-click Support 3
W TCMD 16: double characters Support 11
vefatica IDE double-click select? Support 29
CWBillow Double Registration? Support 1
Steve Pitts How to? FFIND, regular expressions and double quotes Support 4
noahcoad Fixed tcc /k not emulating cmd.exe w double quotes Support 1
M How to? Parsing lines containing double quotes... Support 3
B TCC v12 display double problem Support 2
K double click to run btm? Support 2
H Double prompt for password with * in FTP syntax Support 3
S Starting TCC with double click on tab bar Support 0

Similar threads