Hello there,

I want to compare files to find out if they are the same (except for the name of course).

In my program I can specify a directory. Then I want to check whether there are any redundant files. My app works well with directories that contain less than 300 files. Once above it becomes very slow. I once tried to check a directory with 12000 files and it was S-L-O-W.

Currently I open the files for Binary as ...
then I compare them.
12000 files means (in my case) +- 72 million comparisons...

My question is if there is a quicker way to do this. Can I use an API? Or is there a single command that compares two files??

Please help!