>- see footer for list info -<
Rich,

If you are on windows then you can use the Filesystem Object MoveFolder
method. http://msdn.microsoft.com/en-us/library/465s5y8s(VS.85).aspx

Example usage

http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/w
whelp.htm?context=ColdFusion_Documentation&file=00001584.htm


--
Russ Michaels
Certified ColdFusion Professional
My Blog: www.russ.michaels.me.uk
Tel: 0845 8620034
Fax: 07092 300330
Skype: russmichaels

Commerical ColdFusion & BlueDragon Hosting: www.cfmxhosting.co.uk
FREE CFML Developer hosting : www.cfdeveloper.co.uk




-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Rich Wild
Sent: 19 February 2009 09:58
To: Coldfusion Development
Subject: [CF-Dev] moving entire directories

>- see footer for list info -<
Morning,

I'm currently working on a project where an existing CMS creates potentially
thousands of directories (big site). Now, if an editor decided that he/she
wanted to change the location of a page, the nature of this CMS (currently)
is that it would have to get the directory and all its child directories and
move them individually, which to me sounds like a lot of very unnecessary
overhead.

Is there a way (using com objects or harnessing java etc) in which we can
simply move a top level directory without having to perform individual
cffile operations on all the children?

CF8.

ta

Rich
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<



_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to