Hmm I seem to think I have a routine in fox which does this, would you like me to dig it out or you not looking for a fox solution.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Sent: 01 September 2006 14:26 To: [EMAIL PROTECTED] Subject: RE: Move directories Sietse Wijnker wrote: > > Here's something I cooked up while waiting for a convert-program running: > > It uses the SHFileOperation API which is also used when dragging files > from > one folder to another in winexplorer. > > Regards, > Sietse Wijnker Thanks for that Sietse, this is the nearest I have been to having a fully working example. The only problem I have with this is that it errors if all the directories in the To path do not exist. I assumed that they would simply be created but that does not appear to be the case. For example: lcFrom = "\\Server\Data\Documents\Test" lcTo = "\\Server\Archive\Data\Documents\Test" Will fail unless the \\Server\Archive \\Server\Archive\Data \\Server\Archive\Data\Documents Directories are first created Cheers, Nick [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

