check whether two folders are identical

  • Thread starter Thread starter Loane Sharp
  • Start date Start date
L

Loane Sharp

Hi there

Is there a simple way to check whether the contents of a particular folder
(all files, also files within subfolders) match the contents of another
folder?

Best regards
Loane
 
It depends on what you mean by "identical". are you going so
far as to check the actual contents of each file?

If not,

Then, you would use the System.IO namespace and the
Directory, File, FileInfo, and DirectoryInfo classes to
create a serious of class methods to recursively go through
each subfolder and evalute the contents.
 
Back
Top