Solved

Folder Compare

Posted on 2006-06-14
4
232 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
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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Exchange server 2003 sp2 local queue frozen mail 3 374
Upgrading Windows 2000 SP4 to Windows XP SP2 5 387
Windows Foriegn Disk 3 140
OLD CPUs 12 105
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…
Adults who share images on social media aren’t the only ones who need to worry about their privacy. Our culture’s tendency to share every move and celebration affects the privacy of our children, too.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

685 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