Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

startmenu

A Rust CLI tool and library for managing Windows Start Menu shortcuts (.lnk files).

Installation

Usage

CLI Commands

List shortcuts

List all shortcuts in the current user's start menu:

startmenu list

List shortcuts for all users (machine-level):

startmenu --scope machine list

Add a shortcut

Add 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

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 exists

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"

CLI Options

  • --scope, -s: Specify scope (user or machine). Default: user
  • --help, -h: Show help information
  • --version, -V: Show version information

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages