True case-sensitive filenames
Gerald S. Williams
gsw@agere.com
Mon Jan 20 19:13:00 GMT 2003
Sergey Okhapkin wrote:
> See my previous message - MoveFile("asdf", "ASDF") will delete existing
> file "AsDf".
I see. Perhaps another possibility would be to create a hardlink
and then delete the old file. You couldn't use the CreateHardLink()
function, since it has the same case problems (and is NT5+ only),
but there are other ways (http://www.mvps.org/win32/ntfs/lnw.html,
for example--I think U/Win does something similar). You can always
fall back on the copy/delete mechanism, which appears to be there
for Win95 anyway.
-Jerry
More information about the Cygwin-developers
mailing list