Gustav Brock
gustav at cactus.dk
Sun Oct 19 12:31:10 CDT 2008
Hi Tony The issue could be that you have made the subdirectory, you wish to delete, the current directory. Try calling ChDir CurDir & "\.." before attempting to delete the directory. /gustav >>> iggy at nanaimo.ark.com 19-10-2008 17:01 >>> Hey All Thanks to all of you that responded. Yesterday was a "tired brain day". This morning I built a little routine using MKDIR to check and create the necessary subdirectories. I check first to see if the drive exists. Incorporated Jurgen's idea to check to see if the folder/directory was created (rights issue). One little glitch is if I try to delete the folder immediately after creating it, I get a message "Cannot delete folder. It is being used by another person or program". I have to exit Access and then I can delete it. Thanks again