Create A Shortcut

? tab(-10, AG_SHORTCUT); target; ","; lnkspec; ","; descr; ","; workdir;","; icon;","; iconidx; chr(127);

input "",STATUS

AG_SHORTCUT (72), the command version of MX_SHORTCUT, is used to create a shortcut.

Note, however, that there is no particular need to use this form of the command (except under non-A-Shell servers) since MX_SHORTCUT will automatically issue it as needed for ATE support.

Also note that this version does not support expansion of %ENV% variables (another reason to use the MX_SHORTCUT instead).