A Rust CLI tool and library for managing Windows Start Menu shortcuts (.lnk files).
List all shortcuts in the current user's start menu:
startmenu listList shortcuts for all users (machine-level):
startmenu --scope machine listAdd a simple shortcut:
startmenu add MyApp "C:\Program Files\MyApp\myapp.exe"Add a shortcut with arguments:
startmenu add MyApp "C:\Program Files\MyApp\myapp.exe" --args "--flag --option=value"Add to machine-level start menu (requires admin):
startmenu --scope machine add MyApp "C:\Program Files\MyApp\myapp.exe"Remove a shortcut from current user's start menu:
startmenu remove "C:\Program Files\MyApp\myapp.exe"Remove from machine-level start menu:
startmenu --scope machine remove "C:\Program Files\MyApp\myapp.exe"Check if an executable is in the start menu:
startmenu exists "C:\Program Files\MyApp\myapp.exe"Check in machine-level start menu:
startmenu --scope machine exists "C:\Program Files\MyApp\myapp.exe"--scope, -s: Specify scope (userormachine). Default:user--help, -h: Show help information--version, -V: Show version information