Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Folder Compare

Posted on 2006-06-14
4
Medium Priority
?
245 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 43

Accepted Solution

by:
Steve Knight earned 750 total points
ID: 16901119
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
ID: 16901214
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
ID: 16901383
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
ID: 16933812
On a proper machine today, did you get anywhere with this?

Steve
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Check out what's been happening in the Experts Exchange community.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

704 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