is a simple utility for creating .exe files for launching third-party applications with command line parameters.
Compilation will require a customized C++ development environment, compiler. i use MSYS2 with g++.
compile your own instance of the utility.
g++ -o makeLnk.exe makeLnk.cpp -lshlwapi -O2 -std=c++17 -municode run with powershell parameters
./makeLnk.exe -target "C:\Program Files (x86)\appForler\app.exe" -lparm "-launchparam" -icon "icon.ico" -output "wrapper-app-name"- -target - full path to the application for which you want to create a pseudo-label
- -lparm - required startup parameters
- -icon - icon in .ico format
- -output - name of your shortcut.
In the file makeLnk_log.txt you can check if the parameters are correct for your shortcut if it fails to start.
=== new record ===
Target Path: C:\Program Files (x86)\Overwolf\OverwolfLauncher.exe
Parameters: -launchapp ahpflogoookodlegojjphcjpjaejgghjnfcdjdmi -from-desktop
Working Directory: C:\Program Files (x86)\Overwolf
Icon: tb.ico
Output: Thunderstore
====================