[AccessD] FS object

jeffrey.demulling at usbank.com jeffrey.demulling at usbank.com
Tue May 4 15:26:25 CDT 2004


You could use the API

Private Declare Function CreateDirectoryEx Lib "kernel32" Alias
"CreateDirectoryExA" (ByVal lpTemplateDirectory As String, ByVal
lpNewDirectory As String, lpSecurityAttributes As Any) As Long



                                                                                                                                               
                      "John W. Colby"                                                                                                          
                      <jwcolby at colbyconsulting.        To:       AccessD <AccessD at databaseadvisors.com>                                        
                      com>                             cc:                                                                                     
                      Sent by:                         Subject:  [AccessD] FS object                                                           
                      accessd-bounces at databasea                                                                                                
                      dvisors.com                                                                                                              
                                                                                                                                               
                                                                                                                                               
                      05/04/2004 03:23 PM                                                                                                      
                      Please respond to "Access                                                                                                
                      Developers discussion and                                                                                                
                      problem solving"                                                                                                         
                                                                                                                                               
                                                                                                                                               




Does anyone know if the file scripting object has the ability to just
create
a directory path directly?  If I try to create (for example) C:\Test\Backup
and c:\test exists, then it creates Backup underneath it.  However if Test
doesn't exist it just errors.  I am going to have to build a function to
parse the directories and build them up one at a time if the FS object
can't
directly do this.  It seems like a natural but I can't find it.

John W. Colby
www.ColbyConsulting.com


--
_______________________________________________
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