I'm not quite sure what you have written here. However I am fairly sure that it is not what I am looking for. I want the snippit to check each file in the directory but only do that once. After it has check each file in the directory I want it to follow a goto statement. I would be quite interested to hear a description of what you have written in your snippit.