-
Notifications
You must be signed in to change notification settings - Fork 0
/
AddContextMenu.reg
26 lines (19 loc) · 2.18 KB
/
AddContextMenu.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
Windows Registry Editor Version 5.00
;For single File
[HKEY_CLASSES_ROOT\*\shell\ConvertDocPPt2PDF]
@="To PDF"
"Icon"="C:\\convert2pdf\\pdf.ico"
[HKEY_CLASSES_ROOT\*\shell\ConvertDocPPt2PDF\command]
@="\"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe\" -NoProfile -ExecutionPolicy Bypass -File \"C:\\convert2pdf\\convert2pdf.ps1\" \"%1\" \"%2\""
;For Folder
[HKEY_CLASSES_ROOT\Directory\shell\ConvertDocPPt2PDF]
@="All docs/ppts to PDF"
"Icon"="C:\\convert2pdf\\pdf.ico"
[HKEY_CLASSES_ROOT\Directory\shell\ConvertDocPPt2PDF\command]
@="\"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe\" -NoProfile -ExecutionPolicy Bypass -File \"C:\\convert2pdf\\convert2pdf.ps1\" \"%1\" \"%2\""
;For current folder
[HKEY_CLASSES_ROOT\Directory\Background\shell\ConvertDocPPt2PDF]
@="All doc/ppt to PDF"
"Icon"="C:\\convert2pdf\\pdf.ico"
[HKEY_CLASSES_ROOT\Directory\Background\shell\ConvertDocPPt2PDF\command]
@="\"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe\" -NoProfile -ExecutionPolicy Bypass -File \"C:\\convert2pdf\\convert2pdf.ps1\" \"%V\""