Alaska Software Inc. - FileCopy bug
Username: Password:
AuthorTopic: FileCopy bug
Paulo PinheiroFileCopy bug
on Thu, 15 Sep 2011 20:16:22 +0100
Hello All,

A word of warning about FileCopy() to all the people that uses it.....

FileCopy( <cSourceFile>, <cTargetFile> )
    if <cSourceFile> doesn't exists it is created!?

You can try with:
    FileCopy( "c:\x.txt", "c:\y.txt" )

creates file "c:\x.txt" with 0 bytes and then copies to "c:\y.txt".

Xbase++ is 1.90.355 Apr  9 2009

Best Regards,
Paulo Pinheiro