|
Beyond Compare 3是一款不错的文件、文件夹比较工具。有人说不能注册右键,因此作了一个配置文件,希望对大家有用。将BC3.CMD放到程序文件夹中运行即可。
BC3.CMD
——————————————————————————————
@ECHO OFF
REM 将当前路径设为变量
SET BC3PATH=%~DP0
REM 创建用户配置文件,关闭初次启动程序时的设置向导
IF NOT EXIST "%USERPROFILE%\Application Data\Scooter Software\Beyond Compare 3" MD "%USERPROFILE%\Application Data\Scooter Software\Beyond Compare 3"
COPY /Y NUL "%USERPROFILE%\Application Data\Scooter Software\Beyond Compare 3\BCState.xml"
(
ECHO ^<?xml version="1.0" encoding="UTF-8"?^>
ECHO ^<!-- Produced by Beyond Compare 3 from Scooter Software --^>
ECHO ^<BCState^>
ECHO ^<TBcState^>
ECHO ^<FirstStartup Value="False"/^>
ECHO ^<FormPosStr Value="110;111;980;737"/^>
ECHO ^</TBcState^>
ECHO ^</BCState^>
) >> "%USERPROFILE%\Application Data\Scooter Software\Beyond Compare 3\BCState.xml"
REM 注册右键
REG ADD "HKCR\*\shellex\ContextMenuHandlers\CirrusShellEx" /ve /t REG_SZ /d "{57FA2D12-D22D-490A-805A-5CB48E84F12A}" /f
REG ADD "HKCR\CLSID\{57FA2D12-D22D-490A-805A-5CB48E84F12A}" /ve /t REG_SZ /d "CirrusShellEx" /f
REG ADD "HKCR\CLSID\{57FA2D12-D22D-490A-805A-5CB48E84F12A}\InProcServer32" /ve /t REG_SZ /d "%BC3PATH%BCShellEx.dll" /f
REG ADD "HKCR\CLSID\{57FA2D12-D22D-490A-805A-5CB48E84F12A}\InProcServer32" /v "ThreadingModel" /t REG_SZ /d "Apartment" /f
REG ADD "HKCR\Directory\shellex\ContextMenuHandlers\CirrusShellEx" /ve /t REG_SZ /d "{57FA2D12-D22D-490A-805A-5CB48E84F12A}" /f
REG ADD "HKCR\Folder\shellex\ContextMenuHandlers\CirrusShellEx" /ve /t REG_SZ /d "{57FA2D12-D22D-490A-805A-5CB48E84F12A}" /f
REG ADD "HKCR\lnkfile\shellex\ContextMenuHandlers\CirrusShellEx" /ve /t REG_SZ /d "{57FA2D12-D22D-490A-805A-5CB48E84F12A}" /f
REM 程序基本设置
REG ADD "HKCU\Software\Scooter Software\Beyond Compare 3" /v "SupportsMerge" /t REG_DWORD /d 0x1 /f
REG ADD "HKCU\Software\Scooter Software\Beyond Compare 3\BcShellEx" /v "Viewers" /t REG_SZ /d "Text Compare;Data Compare;Hex Compare;MP3 Compare;Picture Compare;Version Compare" /f
REG ADD "HKCU\Software\Scooter Software\Beyond Compare 3\BcShellEx" /v "ArchiveMasks" /t REG_SZ /d "*.7z;*.7z.001;*.bcpkg;*.bcs;*.bcss;*.cab;*.chm;*.ear;*.gz;*.jar;*.rar;*.tar;*.tar.gz;*.tgz;*.war;*.zip;" /f
REM 注册右键
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved" /v "{57FA2D12-D22D-490A-805A-5CB48E84F12A}" /t REG_SZ /d "Beyond Compare 3 Shell Extension" /f
GOTO :EOF
——————————————————————————————
注:汉化版下载:http://www.greendown.cn/soft/2507.html |
|