Hi
I am in need to compare the contents of the files..
the concept is as follows..
I have to get two directories containing multiple files from two different persons..
Both directories contain same set of files... I have to compare the contents of corresponding files of two directories and perform string comparison as well as grammar checking and finally i have to merge the correction in that file..
Can anybody give me suggestion or sample code for it?
Multiple file comparison at a time
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Sam HobbsRank #107 · 20.5K reputationPosted Feb 23, 2010, 7:08 AM EST
When you read the directories, use the date and time that each file was last updated and the file sizes; if they are the same for files with the same name, then assume the contents are the same.