Mcgillivray, Donald [ITS]
donald.a.Mcgillivray at mail.sprint.com
Tue May 4 16:16:35 CDT 2004
John, According to Gunther Born in "Microsoft Windows Script Host 2.0 Developers Guide" " . . . you must be sure that the path (passed to the FSO's CreateFolder method) is valid . . . " So, it would appear that you'll need to parse and build as you go. Hope this helps. Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, May 04, 2004 1:24 PM To: AccessD Subject: [AccessD] FS object 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