Rename because of case

ScoopD

08-09-2008 12:01:18

Just been doing a big rename with 2.0.2 and found a heap of episodes that it want to rename because the there are caps in either my existing filename or the proposed new filename. As previous experience has shown me, you cannot programatically rename a file to the same name with a couple of case changes. No errors, it just doesn't do it. So I scan for renames and the same files come up again with the same proposed changes. Perhaps a filter to check if the new name is the same as the old name (minus case differences) and then pass it as OK if so.

The only way to actually enforce these changes is to change the filename to something else, then back again. That just adds a level of complexity which, for the result, is just not worth it.

sstteevvee

08-09-2008 22:00:57

Actually.. its not too hard to make it do the double-rename if necessary. Seems that changing just the case of letters works ok on Vista. Are you using XP?

ScoopD

09-09-2008 18:21:13

Yep - XP. I've done scripting for the NT based OS's (NT, 2000 & XP) and seen that issue using the FileSystem Object. Haven't embraced Vista yet - used it a bit but not converted & it's not in my workplace, so I don't get to play.