Last active
March 16, 2019 01:38
-
-
Save jftuga/93aef10a37a12a658ade7ff53fca1b31 to your computer and use it in GitHub Desktop.
Add command to Windows context menu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
; https://www.reddit.com/r/PowerShell/comments/b1ew3f/is_there_a_way_to_create_an_explorer_shell/? | |
[HKEY_CLASSES_ROOT\.rmt] | |
[HKEY_CLASSES_ROOT\.rmt\shell] | |
[HKEY_CLASSES_ROOT\.rmt\shell\Posted] | |
[HKEY_CLASSES_ROOT\.rmt\shell\Posted\command] | |
@="c:\\windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe -File \"M:\\Departments\\IT\\do_posted.ps1\" \"%1\"" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment