Fox's rename will move files across drives, but you'll have to handle the directory structures with adir(<AA>,<path+*.*>,"D") & md. (Currently working on a fox version of xcopy).
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chet Gardiner Sent: Thursday, August 31, 2006 3:07 PM To: [EMAIL PROTECTED] Subject: Re: Move directories I think he's trying to do it in a VFP program...? Jim Winter wrote: >>Any suggestions how I can move a directory (including any >>subdirectories and >>files) from one drive to another? >> >>So far I have tried: >>MoveFile Win32API - will not move across drives, also does not like >>UNC file paths WScript.Shell - Fails with OLE error code >>0x800a0046/004c/003a if directory has multiple subdirectories XCOPY - >>RUN command fails because command length > 256 characters (very long >>directory/file names) >> >>Nick >> >> >> >Nick, > >Just open up 2 copies of Windows Explorer, shift + left click on the >directory you want to move, drag it to the second copy of Explorer and >drop it on the new drive. > >Regards, >Jim > > > [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.

