-
-
Save jsakamoto/e0beaad05ab8214dcc03 to your computer and use it in GitHub Desktop.
Enable .ps1 file in "New" items on Windows Explorer folder 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
# Enable .ps1 file in "New" items on Windows Explorer folder context menu. | |
# LICENSE - [The Unlicense](http://unlicense.org/UNLICENSE) | |
New-PSDrive -name HKCR -PSProvider Registry -root HKEY_CLASSES_ROOT | |
New-Item HKCR:\.ps1\ShellNew | |
New-ItemProperty HKCR:\.ps1\ShellNew NullFile -propertyType String |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment