[AccessD] FS object

John W. Colby jwcolby at colbyconsulting.com
Tue May 4 19:58:23 CDT 2004


Yea, so it seems.  I have developed code to do that.

John W. Colby 
www.ColbyConsulting.com

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mcgillivray,
Donald [ITS]
Sent: Tuesday, May 04, 2004 5:17 PM
To: Access Developers discussion and problem solving
Subject: RE: [AccessD] FS object


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