[AccessD] Creating Subdirectories

Max Wanadoo max.wanadoo at gmail.com
Sun Oct 19 10:26:29 CDT 2008


Try sticking a DEEVENTS in there.
That will release the processing to the OS to do whatever it needs and then
come back to you.

Max


-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav
Sent: 19 October 2008 16:02
To: Access Developers discussion and problem solving
Subject: [AccessD] Creating Subdirectories

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
-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com




More information about the AccessD mailing list