Solved

byte-by-byte comparison

Posted on 2012-03-30
2
275 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
Comment Utility
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
Comment Utility
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

Why do Marketing keep bothering you?

Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

Join & Write a Comment

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…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
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…

762 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

5 Experts available now in Live!

Get 1:1 Help Now