In my code I need to be able to search for a directory to find out if it is created or not and if not then I need to create it. The create part is not a problem. I have been fighting with this for a couple of days now and I'm getting nowhere. Thanks for the help.