Solved

Folder Compare

Posted on 2006-06-14
4
226 Views
Last Modified: 2010-04-13
Hi All.

Im a novice poking around on a windows 2000 box and i need to compare the differences between 2 folders.

I published an output from a cms to Filesystem to 2 destinations at the same time, but one output delivered 35000 files and the other outputted 35017.

so i need to find out the 17 files diffences between the 2 folders.

is there an easy way to do this without installing any software on the box?

Neil
0
Comment
Question by:whichit
  • 3
4 Comments
 
LVL 43

Accepted Solution

by:
Steve Knight earned 250 total points
Comment Utility
dir patha /s /b /one > patha.txt
dir pathb /s /b /one > pathb.txt
fc patha.txt pathb.txt > diff.txt
start diff.txt

I.e. makes a directory listing of all files in both areas in name order then compares them for differences

Steve

0
 

Author Comment

by:whichit
Comment Utility
Hi Steve,

Just tried it and i get an error message.

resync failed. files too different?
and the diff.txt opened up in excel

any ideas?
0
 
LVL 43

Expert Comment

by:Steve Knight
Comment Utility
Try  /LB option onf fc.exe to increase lines to sync after differences - not on windows at the moment to check syntax - try fc /?

you could also push these files through windiff (gui compare program - google for it)

sorry no more detail, using a naff keyboard on a pda while stuck in hospital waiting ..

Steve
0
 
LVL 43

Expert Comment

by:Steve Knight
Comment Utility
On a proper machine today, did you get anywhere with this?

Steve
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
windows 2000 3 420
Images sometimes not printed 6 467
Windows Explorer and WinZXip 4 491
Running Baan iV on VMware 3 69
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now