Hey that works great. Never knew of that command before. Now that it works it brings up another question. If I have the kill command coded to delete 10 files in a folder it will delete them just fine. However; I will have some cases where only some of the 10 files will exist in the folder and If I run the code that deletes them I get an error saying that the file doesn't exist. Is there a way to check to see if the file exists before deleting or some kind of error handling that will ignore the kill command if the file doesn't exist. Thanks for any help.