edw008
July 18, 2007, 6:03pm
1
Hi,
I would like to rename files like;
From: 100.GREATEST.ROCK.SONGS.OF.THE.90S.RAR
To: 100 Greatest Rock Songs of the 90s.rar
Basically, to remove all the periods except the last one, turn them into Title case, and lower case for the extension.
I remember reading a post about this, but I couldn't find it after an hour's search in the forum. Please help.
system
July 19, 2007, 1:38am
2
The Title Case Script is probably what you remember seeing.
[url]Titlecase ]
It doesn't remove periods like you want by default, but you can easily add in the script box something like:
strNewName = Replace(strNewName, ".", " ")
just add it right before the line:
' Replace "_" with spaces
which will put it after the folder check, otherwise it doesn't work correctly.
Leo
July 19, 2007, 8:36am
3
No need to edit the script, you can do it using the existing TitleCase script combined with a Find & Replace rename, which can all be done at once as shown below.
The Find field has a fullstop in it and the replace field has a space in it.