Please use the following for creating lnk files: Creating shortcuts from the command-line. The shortcutJS.bat is not normally used, but useful in rare cases that shortcuts created by the createShortCuts.exe do not start or the createShortCuts.exe does not start. |
In order to examine, create or edit windows shortcuts, the following js bat script is available: shortcutJS.bat
Usage:
shortcutJS.bat -list <lnkFile> shortcutJS.bat -shortcut <lnkFile> -target <target> [-args <args>] [-description <description>] [-workdir <workdir>] [-admin true|false] shortcutJS.bat -edit <lnkFile> [-target <target>] [-args <args>] [-description <description>] [-workdir <workdir>] [-admin true|false] shortcutJS.bat -help |
command | description |
---|---|
-list | Logs the command to create an existing shortcut on a different PC. This can be useful in a CITRIX environment. |
-shortcut | Creates a new shortcut. |
-edit | Updates an existing shortcut. |
-help | Prints the above syntax for using the script. |