Charlie,

Just tried MoveFile() again for a sanity check, same problems as before:
1). Does not allow move across drives.
2). Does not support UNC network path names.

Nick

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of Charlie Coleman
> Sent: 01 September 2006 16:06
> To: ProFox Email List
> Subject: RE: Move directories
> 
> At 11:46 AM 9/1/2006 +0100, Nick wrote:
> >Charlie Coleman:
> >
> > > I suggest MoveFile (in the Win32 API) for the actual 'move' step. Some
> > > examples below
> >
> >Again it only does individual files not directories with subdirectories.
> 
> Acutally, it will move the folder and everything under it. For example, I
> did this as a test:
> 
> Folders:
> 
> c:\testing\orig\
>       c:\testing\orig\onedown
>            c:\testing\orig\twodown
> 
> c:\testing\new\
> 
> 
> Each one of the folders under c:\testing\orig\ had some files in them.
> 
> Then I did a movefile("c:\testing\orig\onedown", "c:\testing\new\onedown")
> 
> And I got this:
> 
> c:\testing\new\
>       c:\testing\new\onedown
>            c:\testing\new\twodown
> 
> And all the files came along.
> 
> 
> -Charlie
> 
> 
> 
[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.

Reply via email to