forked from NickVeld/win-registry-snippets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
OpenWithNPP.reg
33 lines (23 loc) · 1.02 KB
/
OpenWithNPP.reg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Windows Registry Editor Version 5.00
; WARNING: before run replace PATH_TO_APP with correct value
; Example: C:\\NotepadPP
[HKEY_CLASSES_ROOT\*\shell\NPP]
; Open files
@="Edit with &NPP"
"Icon"="\"PATH_TO_APP\\notepad++.exe\",0"
[HKEY_CLASSES_ROOT\*\shell\NPP\command]
@="\"PATH_TO_APP\\notepad++.exe\" \"%1\""
[HKEY_CLASSES_ROOT\Directory\shell\NPP]
; This will make it appear when you right click ON a folder
; The "Icon" line can be removed if you don't want the icon to appear
@="Open Folder as &NPP WSpace"
"Icon"="\"PATH_TO_APP\\notepad++.exe\",0"
[HKEY_CLASSES_ROOT\Directory\shell\NPP\command]
@="\"PATH_TO_APP\\notepad++.exe\" \"%1\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\NPP]
; This will make it appear when you right click INSIDE a folder
; The "Icon" line can be removed if you don't want the icon to appear
@="Open Folder as &NPP WSpace"
"Icon"="\"PATH_TO_APP\\notepad++.exe\",0"
[HKEY_CLASSES_ROOT\Directory\Background\shell\NPP\command]
@="\"PATH_TO_APP\\notepad++.exe\" \"%V\""