-
Notifications
You must be signed in to change notification settings - Fork 1
/
install.bat
60 lines (45 loc) · 3.73 KB
/
install.bat
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
57
58
59
60
@echo off
SET stportalPath=%USERPROFILE%\AppData\Roaming\npm\dedupper.cmd
rem add it for all file types
@reg add "HKEY_CLASSES_ROOT\*\shell\dedupper" /t REG_SZ /v "" /d "dedupper" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\dedupper\command" /t REG_SZ /v "" /d "%stportalPath% -w -p \"%%1\"" /f
rem add it for folders
@reg add "HKEY_CLASSES_ROOT\Folder\shell\dedupper" /t REG_SZ /v "" /d "dedupper" /f
@reg add "HKEY_CLASSES_ROOT\Folder\shell\dedupper\command" /t REG_SZ /v "" /d "%stportalPath% -w -p \"%%1\"" /f
rem add it for folders sweep
@reg add "HKEY_CLASSES_ROOT\Folder\shell\dedupper_sweep" /t REG_SZ /v "" /d "dedupper sweep" /f
@reg add "HKEY_CLASSES_ROOT\Folder\shell\dedupper_sweep\command" /t REG_SZ /v "" /d "%stportalPath% -w -s -p \"%%1\"" /f
rem add it for all file types dryun
@reg add "HKEY_CLASSES_ROOT\*\shell\dedupper_dryrun" /t REG_SZ /v "" /d "dedupper dryrun" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\dedupper_dryrun\command" /t REG_SZ /v "" /d "%stportalPath% -w -n -p \"%%1\"" /f
rem add it for folders dryrun
@reg add "HKEY_CLASSES_ROOT\Folder\shell\dedupper_dryrun" /t REG_SZ /v "" /d "dedupper dryrun" /f
@reg add "HKEY_CLASSES_ROOT\Folder\shell\dedupper_dryrun\command" /t REG_SZ /v "" /d "%stportalPath% -w -n -p \"%%1\"" /f
rem add it for all file types
@reg add "HKEY_CLASSES_ROOT\*\shell\dedupper_no_dir" /t REG_SZ /v "" /d "dedupper no dir" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\dedupper_no_dir\command" /t REG_SZ /v "" /d "%stportalPath% -D -w -p \"%%1\"" /f
rem add it for folders
@reg add "HKEY_CLASSES_ROOT\Folder\shell\dedupper_no_dir" /t REG_SZ /v "" /d "dedupper no dir" /f
@reg add "HKEY_CLASSES_ROOT\Folder\shell\dedupper_no_dir\command" /t REG_SZ /v "" /d "%stportalPath% -D -w -p \"%%1\"" /f
rem add it for all file types dryun
@reg add "HKEY_CLASSES_ROOT\*\shell\dedupper_no_dir_dryrun" /t REG_SZ /v "" /d "dedupper no dir dryrun" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\dedupper_no_dir_dryrun\command" /t REG_SZ /v "" /d "%stportalPath% -D -w -n -p \"%%1\"" /f
rem add it for folders dryrun
@reg add "hkey_classes_root\folder\shell\dedupper_no_dir_dryrun" /t reg_sz /v "" /d "dedupper no dir dryrun" /f
@reg add "hkey_classes_root\folder\shell\dedupper_no_dir_dryrun\command" /t reg_sz /v "" /d "%stportalpath% -D -w -n -p \"%%1\"" /f
rem add it for all file types relocate
@reg add "HKEY_CLASSES_ROOT\*\shell\dedupper_relocate" /t REG_SZ /v "" /d "dedupper relocate" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\dedupper_relocate\command" /t REG_SZ /v "" /d "%stportalPath% -r -w -p \"%%1\"" /f
rem add it for folders relocate
@reg add "hkey_classes_root\folder\shell\dedupper_relocate" /t reg_sz /v "" /d "dedupper relocate" /f
@reg add "hkey_classes_root\folder\shell\dedupper_relocate\command" /t reg_sz /v "" /d "%stportalpath% -r -w -p \"%%1\"" /f
rem add it for all file types relocate manual
@reg add "HKEY_CLASSES_ROOT\*\shell\dedupper_relocate_manual" /t REG_SZ /v "" /d "dedupper relocate manual" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\dedupper_relocate_manual\command" /t REG_SZ /v "" /d "%stportalPath% -r -m -w -p \"%%1\"" /f
rem add it for folders relocate manual
@reg add "hkey_classes_root\folder\shell\dedupper_relocate_manual" /t reg_sz /v "" /d "dedupper relocate manual" /f
@reg add "hkey_classes_root\folder\shell\dedupper_relocate_manual\command" /t reg_sz /v "" /d "%stportalpath% -r -m -w -p \"%%1\"" /f
SET stportalPath=%USERPROFILE%\AppData\Roaming\npm\photosift.cmd
rem add it for folders relocate manual
@reg add "hkey_classes_root\folder\shell\photosift" /t reg_sz /v "" /d "photosift" /f
@reg add "hkey_classes_root\folder\shell\photosift\command" /t reg_sz /v "" /d "%stportalpath% \"%%1\"" /f