GP SoftwareTwitter
Opus FAQsManualCommandsObjects

WinDiff buttons

See Also: Diff/Merge Toolbar
See Also: Beyond Compare buttons

My name is Joakim Simonsson, I am a professional 3d artist and programmer.
At work I often have to compare directories with 1000 of files or sometimes just two files. The program windiff helps me with that. Windiff.exe is a program that comes with Microsoft Visual Studio 6 and 7.x. I have created this little button that speeds up the procedure.

Usage

(Ed. The two buttons below can be copy/pasted into a 3-button toolbar button. Then follow Joakim's instructions below.)

To compare you left view with your right view:

  1. Left click the WindDiff Opus button.

To compare two files:

  1. Select two files (in the same view).
  2. Right click the WindDiff Opus button.

I hope this little button will save you valuable time.

Left Button Function - Compare Directories

[DOpus.ButtonInfo]
Name=Compare Directories
Icon=0,9999999
Flags=6,1000,0
Color=0,a0a0a0
IconFile1=C:\Program Files\Microsoft Visual Studio\Common\Tools\WINDIFF.EXE,0
Tooltip=Compare Directories
Func1=C:\Program Files\Microsoft Visual Studio\Common\Tools\WINDIFF.EXE {sourcepath$} {destpath$}

Right Button Function - Compare Files

[DOpus.ButtonInfo]
Name=Compare Files
Icon=0,9999999
Flags=6,1000,0
Color=0,a0a0a0
IconFile1=C:\Program Files\Microsoft Visual Studio\Common\Tools\WINDIFF.EXE,0
Tooltip=Compare Files
Func1=C:\Program Files\Microsoft Visual Studio\Common\Tools\WINDIFF.EXE {allfilepath}

Author: Joakim Simonsson

Hi,
I've updated the buttons to use WinDIFF with VS2010 and newer DOpus format.
Valid for 64bit and 32 bit windows versions.

<?xml version="1.0"?>
<button backcol="none" display="icon" icon_size="large" textcol="none" type="three_button">
	<label>WinDIFF</label>
	<icon1>/programfilesx86\Microsoft SDKs\Windows\v7.0A\Bin\x64\WINDIFF.EXE</icon1>
	<button backcol="none" display="icon" icon_size="large" textcol="none">
		<label>Compare Directories</label>
		<tip>Compare Directories</tip>
		<icon1>/programfilesx86\Microsoft SDKs\Windows\v7.0A\Bin\x64\WINDIFF.EXE</icon1>
		<function type="normal">
			<instruction>"/programfilesx86\Microsoft SDKs\Windows\v7.0A\Bin\x64\WINDIFF.EXE" {sourcepath$} {destpath$}</instruction>
		</function>
	</button>
	<button backcol="none" display="icon" icon_size="large" textcol="none">
		<label>Compare Files</label>
		<tip>Compare Files</tip>
		<icon1>/programfilesx86\Microsoft SDKs\Windows\v7.0A\Bin\x64\WINDIFF.EXE,0</icon1>
		<function type="normal">
			<instruction>"/programfilesx86\Microsoft SDKs\Windows\v7.0A\Bin\x64\WINDIFF.EXE" {allfilepath}</instruction>
		</function>
	</button>
</button>

Edited to follow leo's tips on using /programfilesx86 and adding double quotes on EXEs Paths.