main logo
Subject: RE: Move directories
Author: "Lew Schwartz"
Posted: 2006/08/31 14:17:58
 
View Entire Thread
New Search


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: profoxtech-bounces /AT/ leafe .D.OT com [mailto:profoxtech-bounces@leafe.com]
On Behalf Of Chet Gardiner
Sent: Thursday, August 31, 2006 3:07 PM
To: profoxtech /AT/ leafe .D.OT com
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]


 
©2006 Lew Schwartz
<-- Prior Message New Search Next Message -->