If we're talking about files here - why not just "dir" to a file - sort it with "sort" - then write an kix algorithm that reads the file back in and checks for dups ? sorting it first makes the algorithm easier to code.

Bryce - didn't you do something like this in that "delete c:\temp" thread awhile back ? (one of my favorite threads of all time!)

Shawn.

[This message has been edited by Shawn (edited 14 February 2001).]