[AccessD] Move Folder

Rocky Smolin rockysmolin at bchacc.com
Mon Apr 26 18:17:23 CDT 2010


Good idea.  I used FSO once before.  He's a bit more adept as a user than
most - knows how to set a reference if he has to.

But I'm forwarding Drew's suggestion of Robocopy to see if that will do the
job.  

R


-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan
Sent: Monday, April 26, 2010 3:48 PM
To: Access Developers discussion and problem solving
Subject: Re: [AccessD] Move Folder

If you use a File System Object, it's quite simple - I think I have some
code somewhere which I will try to dig out. 

But I don't like using FSO because it relies on Scripting being available.

Without it, you have to re-iterate through the subfolder, recreate them in a
new location and filecopy/kill everything in the first location.  I may have
some code somewhere for that to.

--
Stuart



On 26 Apr 2010 at 15:36, Rocky Smolin wrote:

> Dear List:
> 
> What is the best way (through code, of course) to move a folder and all of
> its subfolders and files to a new location?
> 
>  
> 
> MTIA
> 
>  
> 
> Rocky Smolin
> 
> Beach Access Software
> 
> 858-259-4334
> 
> www.e-z-mrp.com <http://www.e-z-mrp.com/> 
> 
> www.bchacc.com <http://www.bchacc.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