Shortcuts
Package: WA2L/WinTools 1.2.08
Section: General Commands (1)
Updated: 19 September 2020
Index
Return to Main Contents
NAME
Shortcuts - handle desktop-, other shortcuts, junctions and 'Quick Access' entries
SYNOPSIS
WA2LWinTools/bin/Shortcuts
Shortcuts
[
-h
|
-V
|
-l
|
-e
]
Shortcuts
(
-i
|
-u
|
-l
|
-p
)
definition
AVAILABILITY
WA2L/WinTools
DESCRIPTION
shortcuts
is a command line command to
handle desktop-, other shortcuts (=links), junctions and entries in the Windows™
file
Explorer
'Quick Access'
section.
This enables to define all shortcuts normally defined by hand
in the configuration file
etc/Shortcuts.definition.cfg
Therefore if path names change or you need to move to a new/reinstalled
system, simple invoke
Shortcuts -i definition
and all your shortcuts are updated.
The
Shortcuts
command can also handle shortcuts handled by
run(1),
which you would normally create invoking the
run -i application
command for each
application
for which you like a shortcut to be placed on the users
'Desktop'.
OPTIONS
- -h
-
usage message.
- -V
-
print
Shortcuts
version.
- -i definition
-
install the shortcuts defined in
etc/Shortcuts.definition.cfg
configuration file.
- -u definition
-
uninstall the shortcuts defined in
etc/Shortcuts.definition.cfg
configuration file.
- -l
-
list all available shortcuts
definitions.
- -l definition
-
list all defined shortcuts of the
given
definition.
- -p definition
-
print details of all defined shortcuts of the
given
definition.
- -e
-
export definitions of existing shortcuts in the current
directory.
The
SHORTCUT;...
output can be used in the
etc/Shortcuts.definition.cfg
configuration file.
Example:
[ H:\bin\WA2LWinTools\bin ]
[ wilma@acme007 ][*wtshell*/cmd]: cddesktop
[ C:\Users\wilma\Desktop ]
[ wilma@acme007 ][*wtshell*/cmd]: Shortcuts -e >> %WA2L_INSTALLDIR%\etc\Shortcuts.myDesktop.cfg
- definition
-
definition of the
'Desktop'
or other shortcuts to be handled by
Shortcuts.
The
definition
is saved in the
etc/Shortcuts.definition.cfg
configuration file.
ENVIRONMENT
See
shortcuts.def.cfg(4)
for a description of all additional variables recognised by the
Shortcut
command.
EXIT STATUS
- 0
-
no error.
- 4
-
usage message displayed.
- 3
-
the configuration file
etc/Shortcuts.definition.cfg
for the specified
definition
does not exist.
- 5
-
version message displayed.
FILES
- etc/Shortcuts.definition.cfg
-
shortcut definition file for the given
definition.
EXAMPLES
-
SEE ALSO
wintoolsintro(1),
desktopicon(1),
envarlist(3),
run(1),
shortcuts.def.cfg(4)
NOTES
-
BUGS
-
AUTHOR
Shortcuts was developed by Christian Walther. Send suggestions
and bug reports to wa2l@users.sourceforge.net .
COPYRIGHT
Copyright © 2020
Christian Walther
This is free software; see
WA2LWinTools/man/COPYING
for copying conditions. There is ABSOLUTELY NO WARRANTY; not
even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This document was created by man2html
using the manual pages.
Time: 16:32:59 GMT, September 14, 2024