simplest solution is.. if you are trying to create a file inside the folder, then attempt to create the file (using open/create file function). If error occurs, then create the folder and then the file.
Or else.. use the List Directory (or similar) function to get a list of current directories, search the returned array for the folder name. If it exists, creat the file else creat the folder and then the file.
Hope that makes sense.
Vikas
Message Edited by Vikas K on
04-01-2008 12:22 PM