winshort is a command line tool to create Windows shortcut (*.lnk).
Create or inspect Windows shortcuts (.lnk)
Usage: winshort.exe [OPTIONS] [SOURCE] [TARGET]
Arguments:
[SOURCE] Path to the target file or application
[TARGET] Output .lnk path
Options:
-d, --dir <WORKING_DIR> Working directory of the target
-w, --window-size <WINDOW_SIZE> Window state of the target when launched [possible values: hidden, normal, minimized, maximized]
-c, --comment <COMMENT> Shortcut description / comment
-a, --args <ARGS> Command line arguments passed to the target
-i, --icon <ICON> Icon file path, optionally suffixed with ",index"
-H, --hotkey <HOTKEY> Shortcut hotkey, e.g. "Ctrl+Alt+X"
-p, --parse Parse and print information from an existing .lnk file
-h, --help Print help
-V, --version Print version
MIT