Solved

byte-by-byte comparison

Posted on 2012-03-30
2
276 Views
Last Modified: 2012-06-21
As a part of our companies Windows 7 roll out we use SCCM's mechanism to replicate files to local distribution points (DP).  In this process some of the files replicated to the DP's become corrupt.  The strange thing is that if we compare destination with source file regarding size and date, everything looks fine, but a byte-by-byte comparison reveals differences between source and destination.

So I'm looking for a program that can do a byte-by-byte comparison on huge amounts of files and folders.  I have tried "Beyond Compare", but it seems a little bit on the "light side". Anyone who knows of a good program for this?
0
Comment
Question by:cowiekspert
2 Comments
 
LVL 23

Accepted Solution

by:
wdosanjos earned 500 total points
ID: 37786974
You can try the comp command.  Something like this:
C:\> @for /R /D %d in (C:\myfolder\*.*) do echo N|comp %d D:%~pnd >>comp-results.txt

Open in new window


I hope this helps.
0
 

Author Closing Comment

by:cowiekspert
ID: 37799671
After adding " before and after source and destination parameters to "comp" it works like a charm – thank you ¿  (To take into account filenames with space)

C:\> @for /R /D %d in (C:\myfolder\*.*) do echo N|comp "%d" "H:%~pnd" >>comp-results.txt
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been working as System Administrators since 2003. I recently started working as a FreeLancer and was amazed to find out that very few people are taking full advantage of their Windows Server Machines. Microsoft Windows Server comes with so…
I was supporting a handful of Windows 2008 (non-R2) 2 node clusters with shared quorum disks. Some had SQL 2008 installed and some were just a vendor application that we supported. For the purposes of this article it doesn’t really matter which so w…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now