Last active
June 1, 2021 17:20
-
-
Save kyle-ilantzis/c5a30fbabe8923130581 to your computer and use it in GitHub Desktop.
Adds 'Open in Atom' to context menu in Windows Explorer.
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 | |
; | |
; Adds 'Open in Atom' to context menu (when you right click) in Windows Explorer. | |
; | |
; Based on https://github.com/Zren/atom-windows-context-menu. It didn't work | |
; https://github.com/Zren/atom-windows-context-menu/issues/1. | |
; | |
; Save this file to disk with a .reg extension. Replace C:\\Atom\\atom.exe with | |
; the path to the atom executable on your machine. | |
; | |
; Make sure you are running as administrator. | |
; | |
; Double click the file and then click yes on the popup. | |
; | |
; OR | |
; | |
; open a command prompt and type | |
; C:> regedit path\to\open-w-atom.reg | |
; | |
; That's it! | |
; | |
; License, MIT | |
; when you right click a file | |
[HKEY_CLASSES_ROOT\*\shell\Atom KI ext] | |
""="Open File in Atom" | |
"Icon"="C:\\Atom\\atom.exe" | |
[HKEY_CLASSES_ROOT\*\shell\Atom KI ext\command] | |
""="C:\\Atom\\atom.exe \"%1\"" | |
; when you right click a folder | |
[HKEY_CLASSES_ROOT\Directory\shell\Atom KI ext] | |
""="Open Folder in Atom" | |
"Icon"="C:\\Atom\\atom.exe" | |
[HKEY_CLASSES_ROOT\Directory\shell\Atom KI ext\command] | |
""="C:\\Atom\\atom.exe \"%1\"" | |
; when you right click a folder while holding shift | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\Atom KI ext] | |
""="Open Folder in Atom" | |
"Icon"="C:\\Atom\\atom.exe" | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\Atom KI ext\command] | |
""="C:\\Atom\\atom.exe \"%V\"" | |
; when you right click the background, not on a particular file or folder. | |
[HKEY_CLASSES_ROOT\LibraryFolder\Background\shell\Atom KI ext] | |
""="Open Folder in Atom" | |
"Icon"="C:\\Atom\\atom.exe" | |
[HKEY_CLASSES_ROOT\LibraryFolder\Background\shell\Atom KI ext\command] | |
""="C:\\Atom\\atom.exe \"%V\"" |
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
Copyright (c) 2014 Kyle Ilantzis | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in | |
all copies or substantial portions of the Software. | |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | |
THE SOFTWARE. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Perfect. Thank you!