I have a folder "e:\my documents\myfolder" with about 400000 files.
The folder has only 2 types of files extentions:
Each .txt file must have a corresponding .key file
e.g. abc.txt should also have a file called abc.key in the same folder
But I know there are some .txt files who do not have a .key file.
I need to find those .txt files and move them to a folder called "NoLink".
Please help me with a php script which will take care of this for such a large file base.