![]() That's all that it takes to integrate DiffMerge with AB Commander. Why such a command line? It will be used by AB Commander to pass the information about the selected files to DiffMerge when you launch it from within AB Commander: %1 will be replaced with the path of the first selected file, %2 with the path of the second selected file, and they both will be enclosed in the double quotes, to account for the possibility of the presence of the space characters in their file names: (You can determine this path by, for example, looking into the properties of the shortcut that DiffMerge installs on your Windows desktop.)Īlso, enter the following text in the Command line area: When the Options for External File Comparer window opens, specify the path to the DiffMerge application in the Path area, such as:Ĭ:\Program Files\SourceGear\Common\DiffMerge\sgdm.exe ![]() Choose View - Options from the menu of AB Commander, select the Tools tab, select File Comparer in the dropdown box, and press the Options button next to External. To do that, we need to set up DiffMerge as the external file comparer within AB Commander. The next step is to integrate DiffMerge software with AB Commander, in order to be able to quickly use it to display the differences between the two selected files, without the need to specify them separately using the DiffMerge file selection interface. Finally, run the setup file to install DiffMerge on your computer. Download and save the file to your hard drive. Then, go to the DiffMerge download page and select the appropriate version, 32- or 64-bit, to match your version of Windows. It's a free download, no payment is required to use this tool (at least that was the case at the time of this writing.) To download DiffMerge, first determine whether your Windows version is 32- or 64-bit. ![]() One of such tools is DiffMerge published by SourceGear, LLC. There are quite a few of such applications available on the web, and the basic way of using them is the same: you need to specify the two files to compare, and the diff viewer would display them side by side and show the differences in some way. This tool is fine for a quick glance at the differences, but what if you want to see what exactly has changed between the two files, line by line? To see such information, you need to install an external diff viewer application. ![]() (They could be in the same panel or in the opposite panels.) Press Shift E or choose Compare Files from the Tools menu of AB Commander, and the results of the comparison should appear in a separate window: To use it, first make sure that only two files are selected in AB Commander. That’s right, SourceGear, makers of Vault (source code version control tool), has a differencing tool, and it’s FREE.Using DiffMerge as the external tool of AB Commander to compare plain text filesĪB Commander includes a basic file comparing tool that you can use to compare two files and see the differences between them. I prefer the free differencing tool from SourceGear, DiffMerge. Don’t get me wrong, it is a great tool, but it isn’t the only one out there. While the docs mention in several places the use of BeyondCompare as an example of a differencing tool to use, I don’t particularly care for BeyondCompare. In the SalesLogix 7.2.2 Application Architect there is now built in support for using a differencing tool of choice to compare and preserve changes when upgrading. Checking to see what has changed in a script, form, etc in an upgrade bundle from what you have in your system can be a critical task in finding the path of least resistance in getting your changes brought into an upgraded form or script. There are many times when we need to compare two or more files for changes between them.
0 Comments
Leave a Reply. |