-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCopyAsPath.reg
56 lines (43 loc) · 2.13 KB
/
CopyAsPath.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Windows Registry Editor Version 5.00
;%%%%%%%%%%%%%%%% COPY PATH NO QUOTES %%%%%%%%%%%%%%%%
[HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\CopyAsPath]
"Icon"="imageres.dll,-5302"
@ = "Cop&y As Path"
[HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\CopyAsPath\command]
;hex(2) below deciphers as:
;cmd /c <nul (set/p var="%1")|clip
@=hex(2):63,00,6D,00,64,00,20,00,2F,00,63,00,20,00,\
3C,00,6E,00,75,00,6C,00,20,00,28,00,73,00,65,00,74,00,2F,00,70,00,20,00,\
76,00,61,00,72,00,3D,00,22,00,25,00,31,00,22,00,29,00,7C,00,63,00,6C,00,\
69,00,70,00,00,00
[HKEY_CLASSES_ROOT\Directory\Background\shell\CopyAsPath]
"Icon"="imageres.dll,-5302"
@ = "Cop&y As Path"
[HKEY_CLASSES_ROOT\Directory\Background\shell\CopyAsPath\command]
;hex(2) below deciphers as:
;cmd /c <nul (set/p var="%V")| clip
@=hex(2):63,00,6D,00,64,00,20,00,2F,00,63,00,20,00,\
3C,00,6E,00,75,00,6C,00,20,00,28,00,73,00,65,00,74,00,2F,00,70,00,20,00,\
76,00,61,00,72,00,3D,00,22,00,25,00,56,00,22,00,29,00,7C,00,20,00,63,00,\
6C,00,69,00,70,00,00,00
;%%%%%%%%%%%%%%%% COPY PATH WITH QUOTES %%%%%%%%%%%%%%%%
[HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\Copy Path With Quotes]
"Icon"="imageres.dll,-5302"
@ = "Copy As Path &Quoted"
[HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\Copy Path With Quotes\command]
;hex(2) below deciphers as:
;cmd /c <nul echo|set/p var=""%1""|clip
@=hex(2):63,00,6D,00,64,00,20,00,2F,00,63,00,20,00,\
3C,00,6E,00,75,00,6C,00,20,00,65,00,63,00,68,00,6F,00,7C,00,73,00,65,00,\
74,00,2F,00,70,00,20,00,76,00,61,00,72,00,3D,00,22,00,22,00,25,00,31,00,\
22,00,22,00,7C,00,63,00,6C,00,69,00,70,00,00,00
[HKEY_CLASSES_ROOT\Directory\Background\shell\CopyAsPathQuoted]
"Icon"="imageres.dll,-5302"
@ = "Copy As Path &Quoted"
[HKEY_CLASSES_ROOT\Directory\Background\shell\CopyAsPathQuoted\command]
;hex(2) below deciphers as:
;cmd /c <nul echo|set/p var=""%V""|clip
@=hex(2):63,00,6D,00,64,00,20,00,2F,00,63,00,20,00,\
3C,00,6E,00,75,00,6C,00,20,00,65,00,63,00,68,00,6F,00,7C,00,73,00,65,00,\
74,00,2F,00,70,00,20,00,76,00,61,00,72,00,3D,00,22,00,22,00,25,00,56,00,\
22,00,22,00,7C,00,63,00,6C,00,69,00,70,00,00,00