Solved

byte-by-byte comparison

Posted on 2012-03-30
2
280 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

691 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