Re: Transfer of folder



On 13 Jul, 14:41, "jg07" <j...@xxxxxxxxxx> wrote:
Hi

Who can explain me why the order in Delphi 6 with family win XP runs

MoveFile ( Pchar('C:\A\'+name),Pchar(C:\AA\'+name));

but

MoveFile ( Pchar('C:\A\'+name),Pchar('F:\Om\ZZ\'+name));

doesn't run ?


MSDN (Microsoft Developer Network) says of MoveFile ...

"Remarks
The MoveFile function will move (rename) either a file or a directory
(including its children) either in the same directory or across
directories. The one caveat is that the MoveFile function will fail on
directory moves when the destination is on a different volume."

Alan Lloyd

.