Literal double quotes in SHORTCUT's "args" parameter?

May 20, 2008
11,544
104
Syracuse, NY, USA
If I want SHORTCUT's "args" parameter to be

Code:
-d "v:\a b\foo"

how do I enter the literal double quotes? I've tried ^q and ^"; they didn't work.
 
May 20, 2008
11,544
104
Syracuse, NY, USA
Nor does %@CHAR[34].
Yeah, tried that too. I don't know if it's been mentioned here, but SHORTCUT serves to work around the shell's shortcut dialog's limitation of MAX_PATH (260) characters in the target. PowerShell can do it also, but SHORTCUT is a tad easier. If only I could get those quotes in there.

FWIW, the shell's run dialog (Win-R) has the same limitation.
 

rconn

Administrator
Staff member
May 14, 2008
12,406
152
Double quotes can be pretty important in command lines. Couldn't you throw in a strategically placed EscapeLine? That'd let us use ^q.

I could, but it would require writing a custom parser for SHORTCUT. Escape character processing is performed long before the line is passed to SHORTCUT.

Since it's something you've lived without for the last 20 years, it's not going to be something that shows up in a v28 build.
 
Similar threads
Thread starter Title Forum Replies Date
vefatica WAD "tokens=*" and literal string Support 4
nickles Literal tab character Support 21
Charles Dye TYPE /X double-spacing long lines Support 2
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
T KEYSTACK and double-double quotes dropping spaces Support 2
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
vefatica `Back quotes` - command line vs. batch file Support 5
R Inconsistency in @version's use of quotes Support 2
vefatica TPIPE: unbalanced escaped quotes in a regex? Support 5
A How to safely print variable's value without quotes? Support 9
Charles Dye TCC smashing Unicode quotes Support 9
greyfairer TCC Quotes needed for Arguments containing '='? Support 11
noahcoad Fixed Can't @iniread a section w quotes in the name Support 6
G backticks and quotes and @LEFT (v8 vs. v9 & v11) Support 1
J Nested for loops and quotes Support 12

Similar threads