main logo
Subject: Re: Move directories
Author: Chet Gardiner
Posted: 2006/08/31 14:06:31
 
View Entire Thread
New Search


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 Chet Gardiner
<-- Prior Message New Search Next Message -->