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


_______________________________________________
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