Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy File and Rename File
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00813114
Message ID:
00910439
Views:
20
>Hi Sergey,
>
>There's a caveat when using the Win API Copy routine. If the file already exists, the case of the file will remain that of the existing file no matter what you pass to the routine. No such problem with renaming via MoveFile.
>
Thanks Marshal. I didn't know that but it is easily fixed by deleting destination file if it exists.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform