How to compare contents of two folders (directories)?

  • Thread starter Clueless in Seattle
  • Start date
C

Clueless in Seattle

I'm transferring a bunch of files from multiple computers onto the
hard drive of a single computer via a peer-to-peer network.

I'd like to be able to check to make sure every file in the directory
on the source computer has been copied successfully over to the
directory on the destination computer.

Does Windows Explorer OR Windows 2K have a utility that will compare
two directories, and then tag the filenames of the files that do not
appear in the directory of the other computer?

And then, allow you to automatically copy over the missing files?

Back in the days of DOS there was a great little utility called XTree
that would do exactly that. And a guy named Kim Henkel created a
Windows clone of Ztree called Ztree, but I don't know how to make it
work across a network.

Will in Seattle
a.k.a. "Clueless"
 
P

Pegasus \(MVP\)

Clueless in Seattle said:
I'm transferring a bunch of files from multiple computers onto the
hard drive of a single computer via a peer-to-peer network.

I'd like to be able to check to make sure every file in the directory
on the source computer has been copied successfully over to the
directory on the destination computer.

Does Windows Explorer OR Windows 2K have a utility that will compare
two directories, and then tag the filenames of the files that do not
appear in the directory of the other computer?

And then, allow you to automatically copy over the missing files?

Back in the days of DOS there was a great little utility called XTree
that would do exactly that. And a guy named Kim Henkel created a
Windows clone of Ztree called Ztree, but I don't know how to make it
work across a network.

Will in Seattle
a.k.a. "Clueless"

You can run this simple command from the command prompt. It will
list all missing files.

xcopy /L "c:\My Documents\Clueless\*.*" \\SomePC\SomeShare\SomeFolder\
or perhaps
xcopy /L /d "c:\My Documents\Clueless\*.*" \\SomePC\SomeShare\SomeFolder\
or maybe
xcopy /L /s "c:\My Documents\Clueless\*.*" \\SomePC\SomeShare\SomeFolder\
 
J

John John

Robocopy or SyncToy should do the trick. Search for them on the
Microsoft site.

John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top