CopyFileEx and 8.3 file names

Posted by Lobuno on Stack Overflow See other posts from Stack Overflow or by Lobuno
Published on 2010-03-12T18:35:21Z Indexed on 2010/03/12 18:37 UTC
Read the original article Hit count: 194

Filed under:

Suppose you have 2 files in the same directory:

New File Name.txt and NewFil~1.txt

If you use CopyFileEx to copy both files to the same destination, maintaining the same names, you will end up having only ONE file (the second one replaces the first one) which can be sometimes not a good thing. Any workaround for this behavior?

© Stack Overflow or respective owner

Related posts about winapi