Re: Transfer of folder



"jg07" <jg07@xxxxxxxxxx> wrote in message
news:4697810b$0$5066$ba4acef3@xxxxxxxxxxxxxxxxx

Qui peut m'expliquer pourquoi la commande en delphi 6 sous win XP familial
MoveFile ( Pchar('C:\A\'+name),Pchar(C:\AA\'+name));
marche, mais
MoveFile ( Pchar('C:\A\'+name),Pchar('F:\Om\ZZ\'+name));
ne marche pas ?

Because the former moves a file within the same filesystem (drive),
and the second requires a copy-and-delete. Is my guess. MSDN does
not mention such a limitation, though.

Perhaps GetLastError can tell you more.

Groetjes,
Maarten Wiltink


.