This script adds a context menu option to create a Start Menu shortcut for any file.
-
Clone the repository (ensure it's in the desired final location):
git clone https://github.com/xAdSFx/AddToStartMenu.git cd AddToStartMenu
-
Run the install script:
- Double-click
install.bat
to apply the registry changes.
- Double-click
-
Verify:
- Right-click on any file and ensure the "Create Start Menu Shortcut" option appears and works as expected.
(If you do so though, just run remove_context_menu.reg
and reapply)
- Remove the context menu entry:
- Double-click
remove_context_menu.reg
to remove the context menu entry.
- Double-click
CreateStartMenuShortcut.ps1
: PowerShell script to create the shortcut.SilentRun.vbs
: VBS wrapper to run the PowerShell script silently.add_context_menu.reg
: Registry file to add the context menu option.remove_context_menu.reg
: Registry file to remove the context menu option.shortcut.ico
: Custom icon file for the context menu entry.install.bat
: Installation script.
- To change the icon, modify the
Icon
value inadd_context_menu.reg
or simply replace the original file with your desired one. - Ensure all paths in the scripts are correct and accessible.
This project is licensed under the MIT License.