main logo
Subject: RE: Move directories
Author: stephen.russell AT adribbers .DO.T com
Posted: 2006/08/31 11:59:27
 
View Entire Thread
New Search


> From: "Nick Causton" <NickC (AT) AssociatedData DOT co.uk>
>
> 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)

why not xcopy /E to include all the empty folders as well as all folders
with files?

HTH




 
©2006 stephen.russell /AT/ adribbers .D.O.T com
<-- Prior Message New Search Next Message -->