?
Solved

byte-by-byte comparison

Posted on 2012-03-30
2
Medium Priority
?
282 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 2000 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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
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 locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
Suggested Courses

765 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