Windows 7 Forums


Reply
Thread Tools

[SOLVED] Compare contents of folders facility?

 
 
Greystones Greystones is offline
New Member
Join Date: Oct 2010
Posts: 5
Thanked: 1
 
      10-05-2010
Does anyone know of a facility in W7 that can compare the contents of a folder that has been transfered over from say XP, and will report the omissions, please?
 
Reply With Quote
 
 
 
 
Tushman Tushman is offline
Member
Join Date: Sep 2010
Location: Chicago
Posts: 47
Thanked: 11
 
      10-05-2010
Quote:
Originally Posted by Greystones View Post
Does anyone know of a facility in W7 that can compare the contents of a folder that has been transfered over from say XP, and will report the omissions, please?
I don't know of any such utilities in Win7 but there are some options available. First of all, you can use the dir command (DOS shell) in Win7 to output the contents of the folder as a text file. FOR EXAMPLE:
dir c:\test > "C:\directory output.txt" /b /o

The /b switch will truncate the output so that only the file names appear; the /o switch will alphabetically sort the file names in the output. Do the same for the directory on the XP computer. To compare the two text files simply copy & paste into Excel. Excel 2007 version has a built in feature that will compare the two columns & highlight the differences.

The other option is to use Robocopy which is also built into Win7. There are several advantages of using Robocopy but as it applies to your situation, robocopy will only copy files that are not on the destination folder. For example, you have on the XP computer
some filename #1
some filename #2
some filename #3

If you have already copied
some filename #1
some filename #3
onto the WIn7 computer, then Robocopy will automatically skip #1 & #3 and copy only the files that haven't been copied over yet.

This assumes that the two PCs are networked or connected somehow. If none of these options appeal to you, there are plenty of 3rd party applications out there. There's also SyncToy (made by Microsoft) - as a free download. I have no experience with this utility. More information here:

http://www.microsoft.com/downloads/e...displaylang=en

Last edited by Tushman; 10-05-2010 at 07:18 PM..
 
Reply With Quote
 
Elmer BeFuddled Elmer BeFuddled is offline
Resident eejit
Elmer BeFuddled's Avatar
Join Date: Jun 2010
Location: Durham UK
Posts: 1,050
Thanked: 203
Send a message via Skype™ to Elmer BeFuddled
 
      10-05-2010
I can't say of a facility built into Windows 7 but I use Beyond Compare from Scootersoft. It adds a context entry if you wish (recommended), you then just select the "comparitor"** file or folder, select the "comparisee"** file or folder and it'll (a) tell you the files or folders are the same, or (b) open a window listing the differences. You can then if you wish send the missing bits from file A to file B to make them the same. It sometimes struggles with, say, a large pair of .dll files but those in my experience are few and far between.

There's a 30 day trial but I eventually ended up buying a licence as was very handy when customising XP system files..

Oh, and it works fine on x64 systems.


**Made up words.

Last edited by Elmer BeFuddled; 10-05-2010 at 07:25 PM..
 
Reply With Quote
 
TrainableMan TrainableMan is online now
^ The World's First ^
TrainableMan's Avatar
Join Date: May 2010
Location: PA, USA
Posts: 4,654
Thanked: 887
 
      10-05-2010
I've downloaded it but never gave it a try but it looks promising and it's free...
http://winmerge.org/
Now also available as a portable app you can install it on a flash/pen drive ...
http://portableapps.com/news/2008-01...ortable_2.6.12
 
Reply With Quote
 
etalmar etalmar is offline
Established Member
Join Date: Jul 2010
Posts: 196
Thanked: 56
 
      10-05-2010
Quote:
Originally Posted by TrainableMan View Post
I've downloaded it but never gave it a try but it looks promising and it's free...
http://winmerge.org/
Now also available as a portable app you can install it on a flash/pen drive ...
http://portableapps.com/news/2008-01...ortable_2.6.12

May have to try WinMerge myself. Looks like a very useful program and I like the portability factor. Always a plus. Thanks, TrainableMan.
 
Reply With Quote
 
Fire cat Fire cat is offline
Established Member
Join Date: Mar 2010
Posts: 1,156
Thanked: 164
 
      10-05-2010
I don't suppose this is at all what you want, but there's Windows's "Briefcase". You can sync files with it, seeing in the process, what files have been modified or not, what files exist or not anymore.

I often use it for synchronizing my web server files over the many computers I work on. I can edit on both computers, and it'll just merge the files (not the content, jut the actual files in the dir)

Last edited by Fire cat; 10-05-2010 at 10:06 PM..
 
Reply With Quote
 
Greystones Greystones is offline
New Member
Join Date: Oct 2010
Posts: 5
Thanked: 1
 
      10-06-2010
My thanks again to all of you and especially Trainable Man for pointing me to Winmerge, which is a very good program that does exactly what I wanted & quickly, and is quite easy to use for an amateur like me! I can recommend it indeed.

Solved!
 
Reply With Quote
 
TrainableMan TrainableMan is online now
^ The World's First ^
TrainableMan's Avatar
Join Date: May 2010
Location: PA, USA
Posts: 4,654
Thanked: 887
 
      10-07-2010
I'm glad we could help.
 
Reply With Quote
 
JSehgal JSehgal is offline
New Member
Join Date: Jan 2011
Posts: 1
Thanked: 0
 
      01-27-2011
On advice from Tushman, I downloaded the Microsoft SyncToy 2.1 utility an hour ago. Using it, I synchronized my entire data on to an external USB hard drive. It did it all. Then I went back to the original data and changed just one character in one of the Word files. I asked it to run again. It did and reported that it changed and overwrote one file as I would have liked it to.

Prior to using this facility, I had tried to do the backup and a couple of files went missing and I did not relish the prospect of conducting the manual process to locate the missing files. I was lucky to locate this forum and found out about SyncToy2.1. So I downloaded it and ran its Preview facility. It not only reported that there were two files giving me problems, but also as to which files these were and the likely cause of the failure. Once the cause was corrected (a program in the background using the file had to be closed), I clicked on the Run button and it ran successfully. I was surprised at the fast speed of execution.

My conclusion so far is that it will do the job for me for synchronization and backup purposes. I see no reason why SyncToy 2.1 will fail at the task of moving files from an XP system to a new one as long as proper network connection is made and folders specified correctly.

This utility is user configurable, so it pays to read the introduction and set it up for your particular application.

JS

Last edited by JSehgal; 01-27-2011 at 07:38 AM.. Reason: Speeling and grammar mistakes corrected.
 
Reply With Quote
 
TrainableMan TrainableMan is online now
^ The World's First ^
TrainableMan's Avatar
Join Date: May 2010
Location: PA, USA
Posts: 4,654
Thanked: 887
 
      01-27-2011
Quote:
Originally Posted by JSehgal View Post
I see no reason why SyncToy 2.1 will fail at the task of moving files from an XP system to a new one as long as proper network connection is made and folders specified correctly.
synctoy is fine for copying basic data files but it may run into limitations of working on a single user basis so when migrating from XP to Windows 7 it is better to use Windows Easy Transfer (WET) because it carries over the data for ALL users as well as all the userids and their settings. And with it's advanced options can also be set to get data which is not stored under users standard folders (My documents, my pictures, etc).

So for a migration from XP to W7 use WET.

For syncing up data on two drives such as a harddrive and a usb thumb drive then use synctoy. Also realize that Synctoy is not perfect; if two drives were synced once already and then you accidentally delete a file, it checks it's old log, sees that you deleted the file and so it deletes it on the back-up too (if set to Synchronize) when a lot of times what you wanted was to restore a file you erased by mistake.

Last edited by TrainableMan; 01-27-2011 at 05:43 PM..
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Folders being created with hidden attribute Tushman Windows 7 Support 5 10-08-2010 04:51 AM
My music library folder has gone nuts!I had all my songs in correct albums folders. M androl General Discussion 8 10-07-2010 05:31 PM
missing moving my documents: location tab in user folders gone. ex: my documents chrisgray1497 Windows 7 Support 2 02-12-2010 08:42 PM
UnSharing HomeGroup Folders But Sharing Printer win7 Networking 1 01-05-2010 07:07 AM
Windows 7: Old Junk Folders Remain win7 Windows 7 Support 2 01-04-2010 02:09 PM


All times are GMT +1. The time now is 11:20 PM.
W7Forums is an independent website and is not affiliated with Microsoft Corporation.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33