Results 1 to 6 of 6

Thread: [RESOLVED] [2008] Compare Folders and Files Recursively

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2008
    Posts
    32

    Resolved [RESOLVED] [2008] Compare Folders and Files Recursively

    Hello everyone I am needing to do a compare two directories and every folder and all files under it. I need to check file size and date/timestamp of every file. I need it to return something like directories match if they do and if they do not create a file with the files that are different. I also want to state that the machine I will be doing this on will have .net 2.0 I am working to get this updated but as we all know it is a slow process when it is being done by someone else!

    If it could give something like the following in the file:
    1)C:\folder1\testfile1.txt 04/01/2008 04:00:00AM
    2)Z:\folder1\testfile1.txt 05/15/2008 05:00:00PM

    The 2 would be a mapped drive that I can do but this would be the same folder structure as what is on the current machine. The date/timestamps could be in any format as long as they are the same. Note the C: and Z: should not make the match unsuccessful.

    What I would like to do is have this as a Console Application that I can have them run and it will have everything it needs inside it to do everything I need with no interaction from user that double clicks. Each time I will grab the compare file from an xml file that I will provide for them.

    Can someone please help me out with this?

    Thanks in advance!
    Last edited by jtrout; May 15th, 2008 at 08:43 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width