Re: change all files names to lower case.

new topic     » goto parent     » topic index » view thread      » older message » newer message

I'm not at a windows box at the moment, so this is just a guess:

MoveFile fails if the destination file already exists, which might be the what's happening since you're only changing the case of the filename and Windows is filename case-insensitive. Try using MoveFileEx with the flag MOVEFILE_REPLACE_EXISTING?

And if that doesn't work, try renaming it to temporary different name, then rename again to the lowercased name.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu