~neon/win32-shortcut-exer

Runs a Windows shortcut with the same filename as this program's executable.
Add readme and license
Add the functionality

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~neon/win32-shortcut-exer
read/write
git@git.sr.ht:~neon/win32-shortcut-exer

You can also use your local clone with git send-email.

Runs a windows shortcut with the same base filename as this executable. I used this to make Steam launch Skyrim via a shortcut to Mod Organizer 2, which I use to load my mods for the game. You might find a similar use for it.

Illustrated:

SkyrimSELauncher.exe <- this program
SkyrimSELauncher.lnk <- the shortcut that will be run

Feel free to use/copy/whatever this how you please. For the sake of formality, refer to the Unlicense.