I'm trying to compare a text list of filenames with a directory listing and copy the matches to another directory. I'm having trouble with the compare piece. I can read the text file of names and use opendir to open the directory, but I'm not sure how to do the compare. Thanks for any help...