On 03/26/2010 02:58 PM, Andrew Brunner wrote:
> I always use copyfile and check the error and then delete the file if
> needed.  This ensures that the file was actually copied.  It's just
> better that way :-)
>   
*Renaming* a file to a different directory does not offer any risk
(either the file is in the new location or in the old one) and is much
faster.

-Michael
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to