Uppercase to lowercase [resolved]


Fzero

Advanced Member
Joined
Mar 9, 2010
Messages
4,702
edit:


Please ignore this .... Mod's please delete if you wish.


I was requesting help for how to rename UPPERCASE to lowercase with a Windows batch file.


I found my answer here: http://www.computing...werc/12469.html


thanks. :)
 
Last edited by a moderator:
I don't know much about batch files, but I'm guessing the wildcard character represents any number of characters that can come before that would be unaffected. So when you say "ren *A *a", all that would do is change the last character of the file name to "a" if it was "A" previously.


What you need, and I don't know if batch files support this, is to get a list of all the file names, loop through each of them, then change them all to lowercase (the exact method to do this depends on how batch files handle strings).


While I don't know much about batch files, I can think of an incredibly simple Python script that will do this. You interested?
 
Last edited by a moderator:
Cheers onpon4, seems you replied to my initial post just as I edited it to inform of the link I'd found.


thanks for the script offer though.
 
Nice one, I d/l it anyway as will no doubt come in handy one day
 
Back
Top