Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Folder Compare

Posted on 2006-06-14
4
Medium Priority
?
250 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 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

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

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…
How do you create a user-centered user experience on your website? And what are some things you should consider in the process?
Loops Section Overview
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month13 days, 19 hours left to enroll

580 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