Geoffrey Emery
Tech Goodness

Visual Studio File Compare Utility

February 21, 2009 09:36 by gemery

 I am sitting at a coffee house right now and doing some programming..On a Saturday… I am a little dorky I know. I ran into a need for a file comparer utility. I had used some differnt ones before but being that i just updgraded to windows 7. I  didnt have the one that used to have and i needed a new one.

Low and behold there is a file comparer utility in visual studio that i didnt know about.

WinDif a tool that graphically compares the contents of two ASCII files, or the contents of two folders that contain ASCII files, to verify whether they are the same. The file byte count and the creation date are not reliable indications

To compare two files by using Windiff.exe, follow these steps:

  1. Start Windiff.exe. - C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\x64\WinDiff.Exe deppending your settup
  2. On the File menu, click Compare Files.
  3. In the Select First File dialog box, locate and then click a file name for the first file in the comparison, and then click Open.
  4. In the Select Second File dialog box, locate and then click a file name for the second file in the comparison, and then click Open.
    The information in the right pane indicates whether there is a file difference.
  5. To view the actual file differences, click the first line in the Windiff.exe output results, and then on the Expand menu, click Left File Only, Right File Only, or Both Files.
    The color-coded results indicate what the file differences are.

To compare two folders by using Windiff.exe, follow these steps:

  • Start Windiff.exe.
  • On the File menu, click Compare Directories.
  • In the Select Directories dialog box, type the two folder names that you want to compare in the Dir1 and Dir2 boxes. If you want to include subfolders, click to select the Include subdirectories check box.
    The information in the right pane indicates the differences between the two folders.
  • To view the actual file differences, click the line that you want in the Windiff.exe output results, and then on the Expand menu, click Left File Only, Right File Only or Both Files.
    The color-coded results indicate what the file differences are.

You can also run Windiff.exe from the command line. For information about how to do so, or for more information about how to use Windiff.exe, see the Windiff.exe Help file (Windiff.hlp).
There are other utilities that are available besides Windiff.exe that you can use to compare local ASCII and binary files, or to compare a local file to a questionable file at a remote site.
To compare two files or groups of files at a local site, you can use the Fc.exe and the Comp.exe file compare commands. Both commands are run from a command prompt.
You can use Fc.exe to compare two ASCII or binary files on a line-by-line basis. It offers several command-line options. For example, use the fc /b command to compare two binary files. For a complete list of options, type fc /? at a command prompt.
You can use Comp.exe to compare ASCII and binary files and to compare groups of files in two different folders. For example, to compare all the .dll files in one folder to all the .dll files in the same folder on a different computer, type the following at a command prompt:

comp C:\Winnt\System32\*.dll \\DifferentComputerName\C$\Winnt\System32\*.dll

To compare a local file to a remote file, you can use a utility such as the third-party compression utility Pkzip.exe. To do so, use Pkzip.exe to zip the file at both the local and the remote sites. Because zipping a large file can take time, it is faster to use the pkzip -e0 (no compression) option. After you have zipped the files, use the pkzip -v command to examine the cyclic redundancy check (CRC32) value for the .zip files. If the CRC32 values are the same for the remote and local sites, the files are the same.
Note If you use Pkzip.exe to zip a file before you send the file to a remote site, because of the embedded CRC32, you will receive an error message during the unzip process if the file is damaged in transit. If you receive no error message, the file was conveyed without damage.
 

Woot free software and I didnt have install nada…


Tags:
Categories: Software
Actions: E-mail | Permalink | Comments (21) | Comment RSSRSS comment feed

Related posts

Comments

September 25. 2009 00:39

Mobile based Embedded software’s

Good post, but have you thought about Visual Studio File Compare Utility before?

Mobile based Embedded software’s

September 25. 2009 03:58

j2me mobile application development

I was just thinking about Visual Studio File and you've really helped out. Thanks!

j2me mobile application development

October 2. 2009 23:56

mobile application software development

I was just thinking about Visual Studio File Compare Utility and you've really helped out. Thanks!

mobile application software development

October 5. 2009 05:19

enterprise mobility solution

That's great, I never thought about Visual Studio File Compare Utility like that before.

enterprise mobility solution

October 19. 2009 22:53

giochi di slot machines

Useful information like this one must be kept and maintained so I will put this one on my bookmark list! Thanks for this wonderful post and hoping to post more of this!

giochi di slot machines

October 19. 2009 23:53

beat drug test

This is the best post on this topic i have ever read.


Regards

Pitter

beat drug test

October 20. 2009 12:56

fast cash advance

I just hope to have understood this the way it was meant

fast cash advance

October 26. 2009 03:02

payday loans

thanks! very helpful post!! like the template btw ;)

payday loans

October 30. 2009 06:21

Remote Infrastructure Management

HCL Remote Infrastructure Management - HCL took a pioneer leadership role in delivering remote infrastructure management services in India

Remote Infrastructure Management

October 30. 2009 06:23

Web Design

Web Design Company: Turbo Nacho is providing quality web design services including Flash Website Design, Flash and 3d animation, Website Makeovers, Template Design, Custom Data Driven Applications, Ecommerce and Shopping Carts, Logo Design, Domains and Hosting.

Web Design

October 30. 2009 06:24

Web Design

Visual Studio File Comparison Settings .. In other words, how to set Beyond Compare as your file comparison tool in VSTS. ... The default utility (WinDiff, I think? ... Simple Visual Studio 2005 regular expression to sw.

Web Design

October 30. 2009 06:24

web design London

Is there any built-in, add-in solution for visual studio to compare two ... retagged to 'diff', since that's the lingo

web design London

October 30. 2009 06:25

computer memory

Memory Upgrades: House of Memory specializes in Memory Upgrades of Ram Memory, Apple Memory, Dell Memory, HP Memory, Laptop Memory & Computer Memory Upgrade.

computer memory

October 30. 2009 06:25

Business Incubation

Innovation, Entrepreneurship, Business Incubation: For Innovation & Entrepreneurship through Business Incubation- Ortegra supports you in Business funding, business startups loans in London UK.

Business Incubation

November 1. 2009 00:06

personal loans

Hmmm interesting stuff

personal loans

November 5. 2009 05:37

payday loans

I like what I see. keep it going

payday loans

November 9. 2009 12:45

payday loans

Interesting ... as always - is your blog making any cash advance ? ;)

payday loans

November 10. 2009 03:02

cash loans

Just try to smile for about 2-3 mins then you can get back to work

cash loans

November 10. 2009 03:54

Online Booking Engine

Great post! I am just starting out in community management/marketing media and trying to learn how to do it well - resources like this article are incredibly helpful. As our company is based in the US, it?s all a bit new to us. The example above is something that I worry about as well, how to show your own genuine enthusiasm and share the fact that your product is useful in that case.

Online Booking Engine

November 11. 2009 01:32

Peridot Earrings - Everything beautiful for your ears

Couldn?t be written any better. Reading this post reminds me of my old room mate! He always kept talking about this. I will forward this article to him. Pretty sure he will have a good read. Thanks for sharing!

Peridot Earrings - Everything beautiful for your ears

December 6. 2010 09:43

pingback

Pingback from brendannewell.com

b r e n d a n n e w e l l . c o m » CMSSiteManager.js affects JQuery in SharePoint 2010

brendannewell.com

Comments are closed