OSDN Git Service

I updated \\ShellExtension\\Register.bat to also UnRegister with a /U (case-insensiti...
[winmerge-jp/winmerge-jp.git] / ShellExtension / Register.bat
1 @echo off
2 : Register.bat
3 :
4 : ShellExtension.dll is a so called 'Shell Extension'
5 : allowing user to start WinMerge from explorer's context
6 : menu to compare selected files/directories.
7 : However this dll file must be registered for
8 : Windows before it works.
9 :
10 : ShellExtension.dll can be unregistered with command:
11 : "Register.bat /U"
12
13 IF "%1" == "/u" Goto Uninstall
14 IF "%1" == "/U" Goto Uninstall
15
16 Echo Registering ShellExtension.dll...
17 RegSvr32 ShellExtension.dll
18
19 Goto End
20
21 :Uninstall
22 Echo UnRegistering ShellExtension.dll...
23 RegSvr32 /u ShellExtension.dll
24
25 :End
26 CLS