Re: Transfer of folder
- From: Marco van de Voort <marcov@xxxxxxxx>
- Date: Thu, 19 Jul 2007 15:29:09 +0000 (UTC)
On 2007-07-13, Maarten Wiltink <maarten@xxxxxxxxxxxxxxxxxx> wrote:
"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.
Moreover, F could be a network drive. Some things are possible between
partitions that are not allowed for networkdrives and other vfs systems.
.
- References:
- Transfer of folder
- From: jg07
- Re: Transfer of folder
- From: Maarten Wiltink
- Transfer of folder
- Prev by Date: Re: Determining if onboard VGA is used
- Next by Date: Re: DirectSound
- Previous by thread: Re: Transfer of folder
- Next by thread: Re: Transfer of folder
- Index(es):