In one of my programs I have written to tidy up my rather large music library I wanted to 'Pretty Case' my file names. For example, 'dark side of the moon' to 'Dark Side of the Moon'. So I merrily coded my routine to use My.Computer.FileSystem.RenameFile(OriginalFileName , NewPrettyFileName) and lo-and-behold received an error message telling me that a file with the same name already exists.

While this is not a train smash and I can easily code around it by creating a random file name then doing the old switcheroo of OldName==>RandomName==>NewName I do find it annoying that I have to code around something I can do easily using Explorer.

Anybody else come across stuff like this?

Regards,
Kevin Bell