Home > Windows Server Tips > > Determining differences between versions of text files or Web sites
Windows Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 


Determining differences between versions of text files or Web sites


Serdar Yegulalp, Contributor
03.09.2006
Rating: --- (out of 5)


Expert advice on Windows-based systems and hardware
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


Plain-text configuration files have been a feature of Windows since its inception. Today we see more XML-format files than the classic legacy .INI file for configuring applications, but the common denominator is that they're plain-text files that can be edited "by hand" with nothing more than Notepad or an equivalent text editor.

One issue that often arises when working with text files of any kind is how things have changed from one revision of the file to another. Microsoft Word has built-in provisions for tracking changes across versions of documents, but these only work well when used with Word's native .DOC format. Tracking changes within plain-text files themselves is nigh impossible, since they have no provision for recording changes.

Enter WinMerge 2.4, a free and open-source Windows application used to compare different versions of text files, compare the changes between them, and produce change reports or merged copies of the compared files. The program can also compare multiple files in multiple directories and use wildcards to filter the comparison searches, both of which are useful capabilities for checking different editions of a Web site or a source-code tree.

In


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


dividual files can be compared side by side in a pair of windows, with changes highlighted and annotated via color bands. If you have text added or missing in one file, WinMerge non-destructively rearranges line breaks so that similar lines are always matched up side by side. The program can also read and compare files in archives without having to unpack them first (a plug-in for the popular 7-ZIP archiving tool is included), is not restricted by any maximum file size, and will work with Unicode (UTF-8) files and filenames.

Although WinMerge also works with binary files, for the best results you'll want to use an external plug-in that is currently available only with the 2.5 development version of the program. The application can also generate patch files compatible with Diffutils, a file-comparing freeware program available from GNU Software, so that the exact changes made to a given file can be reproduced separately.


Serdar Yegulalp is editor of the Windows Power Users Newsletter. Check it out for the latest advice and musings on the world of Windows network administrators -- and please share your thoughts as well!

More information from SearchWinSystems.com

Rate this Tip
To rate tips, you must be a member of SearchWindowsServer.com.
Register now to start rating these tips. Log in if you are already a member.




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Server Room Design - Planning, Cooling, Maintenance
HomeTopicsBlogsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts