SHORTCUT command question

May 20, 2008
3,515
4
Elkridge, MD, USA
The documentation for the SHORTCUT command indicates that all parameters,
except numeric ones (icon offset and mode) and hotkey, must be quoted. Is
this actually required, or required only if the parameter is empty or the
parameter contains special characters, i.e., would the result of
%@quote[parm] work correctly (except for the empty string case)?
--
Steve
 

rconn

Administrator
Staff member
May 14, 2008
12,340
149
> The documentation for the SHORTCUT command indicates that all
> parameters, except numeric ones (icon offset and mode) and hotkey,
> must be quoted.

The documentation doesn't say they must -- it says:

"Any parameter must be enclosed in double quotes if it includes white space
or other special characters."

And that's true.

The only arguments which should never be quoted are mode & icon offset.

Rex Conn
JP Software
 
Similar threads
Thread starter Title Forum Replies Date
D The SHORTCUT command again,.. Support 16
S SHORTCUT command failure Support 1
S Desktop hotkey creation using SHORTCUT command Support 4
E Bug in shortcut command Support 2
vefatica Literal double quotes in SHORTCUT's "args" parameter? Support 6
C How to bypass UAC warning when shortcut in \Startup folder ? Support 9
D [cosmetic] Shortcut for v24 still has v23 in its comment Support 1
vefatica New Shortcut Key box Support 1
M TCC Taskbar Shortcut Breaks Support 1
C How to? SHORTCUT question..... Support 6
R Shortcut key assignments - default Support 0
vefatica Shortcut/start-up folder nonsense Support 20
samintz How to? Use tilde shortcut Support 3
vefatica Keeping taskbar-pinned shortcut? Support 6
G How to? Trying to create TCC shortcut that opens with blue background (on Windows 8.1 x64) Support 1
vefatica Update removes pinned shortcut? Support 17
noahcoad How to? Create shortcut with env var in path Support 4
vefatica Must update remove my taskbar-pinned shortcut? Support 20
vefatica Update removes taskbar-pinned shortcut Support 7
A Limitation regarding creation of shortcut keys for "copy" Support 0
nickles How to? Shortcut evaluation Support 5
vefatica SHORTCUT behavior (Win7) Support 3
C starting a shortcut from desktop Support 14
N Shortcut stops working after 4NT to TCC Upgrade Support 73
S Desktop Shortcut Hotkey question Support 1
D Always get shortcut in Start Menu folder Support 6
S OT: WinXP shortcut vs. junctions Support 2
M "Shortcut key" on Windows start menu shortcuts Support 5
Dmitry L. Kobyakov How to? How to remove the record of the old version of the Take Command? Support 4
D Can alias pass parameters to for command? Support 3
samintz How to? Search for %(command) in Help? Support 1
T VIEW only works from command line Support 14
rconn News Take Command / TCC / CMDebug / TCC-RT v28 Released Support 0
T Take Command 28: Lua reports version 5.4.0 (5.4.3 expected) Support 0
Jay Sage WAD Possible Bug With OPTION Command With @FILE Support 5
rconn News Take Command / TCC / CMDebug / TCC-RT 27.01.24 uploaded Support 0
J Take command does not start on Windows 10 Support 3
vefatica `Back quotes` - command line vs. batch file Support 5
Jay Sage WAD Failure of Alias Command with /Z Option Support 14
Phileosophos Is there any way to open the Take Command options dialog from the command line? Support 8
Phileosophos Command-line Editing Shortkeys That Fail Support 6
fpefpe How to? free (internal) command Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 27.01.23 uploaded Support 0
T How to? retain command history across reboot? Support 6
rconn News Take Command / TCC / CMDebug / TCC-RT v27.01 Build 22 Uploaded Support 0
Jay Sage Bug With Flow Control and/or Command Grouping Support 2
GermanDirk How to? EVENTLOG Command with simple User Rights not functional Support 4
Jay Sage Take Command Is Too Fast! Support 4
Jay Sage Comparison of IF with Command Group and IFF Support 6
D Open Windows 10 Photos app from command line Support 11

Similar threads