Leaving MS Windows as quickly as possible

cygwin’s mkshortcut creates Windows shortcut icons on the Desktop or in StartUp to invoke cygwin (or msys2) programs the Windows way.

C:/Users/Public/Desktop, for all users, or C:/Users/<me>/Desktop, for one user, me, with

mkshortcut --desc="mintty C:/cygwin64 terminal" --allusers --desktop --name="Cygwin64 Terminal" --icon=/cygdrive/c/cygwin64/Cygwin.ico /cygdrive/c/cygwin64/Cygwin.bat

For a msys2 shortcut there,

mkshortcut --arguments="-ucrt64" -A -D -n "MSYS2 UCRT64 terminal" -i /cygdrive/c/ghcup/msys64/ucrt64.ico /cygdrive/c/ghcup/msys64/msys2_shell.cmd

mkshortcut -a "/usr/bin/bash -l -c 'tt web_-w_sdf qb_-w_qt mastodon' &" -A -P -n "StartUp/web,qb,mastodon" /usr/bin/mintty

The shortcuts exist as .lnk files.

Check man mkshortcut

Me at

Back to HomePage