Results 1 to 5 of 5
  1. #1
    2 Star Lounger
    Join Date
    Oct 2003
    Posts
    144
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Compare content of 2 folders? (XP)

    Hi,

    I want to compare content of my PC's folder with another folder on another PC on the network. There are only a couple of files different.

    Can WinXPPro do this, how?

    Are there any freeware tools which can do this better than XP?

    Thanks in Advance.

  2. #2
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Compare content of 2 folders? (XP)

    It depends on what you mean by "compare content of folder". Do you want to know what files are in one folder but not in the other? Or the same files, but different dates and/or sizes? Or whether the contents of two files with the same name are different?

    For the first instance, maybe a one-line BATch file in the first folder:
    <font color=blue>for %%a in (*.*) do if not exist otherpcc$folder%%a echo %%a not found in otherpcc$folder</font color=blue>
    Modify slightly, to use files from the other PC, comapring with your PC's folder, as the "opposite direction" pass!
    If you just did a DIR /B >TXTFILE.TXT of each folder to get the filenames only, you could use a utility like COMM (or a FINDSTR in sneaky mode) to compare the two text files. Ask if you want something based on this...

    The utility WINDIFF.EXE appeared in a number of the Resource Kits or Support Tools over the years, and personally I would try that one. Other than that, the only thing you have in XP (as far as I am aware) is
    FC.EXE file1 file2

    There is also an olde PC Mag utility called DIRMATCH, but that was 16-bit/short file-name.
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

  3. #3
    Plutonium Lounger
    Join Date
    Oct 2001
    Location
    Lexington, Kentucky, USA
    Posts
    12,107
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Compare content of 2 folders? (XP)

    There are lots of programs out there for doing folder comparisons, many of which will also compare individual files (usually "text" type files). Personally, I use Araxis Merge and have for years but it's a bit pricey for most people. So, try this TUCOWS link to see if you can find anything. Be sure to hit the page down key as the first few listings are not what you're looking for.

  4. #4
    Silver Lounger
    Join Date
    Apr 2001
    Location
    New York, New York, USA
    Posts
    2,328
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Compare content of 2 folders? (XP)

    Use WinDiff utility from Windows Support Tools. The Windows Support Tools for Microsoft Windows XP Professional are located in the SupportTools folder on the Windows XP Professional CD. The SupportTools folder contains a Windows Installer file (suptools.msi), which installs the Support Tools utilities and tools on your computer's hard drive.

  5. #5
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Compare content of 2 folders? (XP)

    That would be the WINDIFF.EXE I mentioned in my post, perhaps??!! <img src=/S/doh.gif border=0 alt=doh width=15 height=15> <img src=/S/evilgrin.gif border=0 alt=evilgrin width=15 height=15>
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

Posting Permissions

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