Solved

byte-by-byte comparison

Posted on 2012-03-30
2
278 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

I was asked if I could set up a fax machine so that incoming faxes were delivered to people's Exchange inboxes and so that they could send faxes from their desktops without needing to print the document first.  I knew it was possible but I had no id…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

860 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