I need a way to rename all files in folders and subfolders to lowercase.
I'd like to know if there is a way to do that using only windows (XP or 7)
|
I need a way to rename all files in folders and subfolders to lowercase. I'd like to know if there is a way to do that using only windows (XP or 7)
| |||||||||||
feedback
|
|
Do you require a GUI-based solution or a command line interface (CLI)? It may be easier to use the CLI option since you won't have to deal with installing more applications or searching for a free application to suite your needs. Since you mentioned "batch", I leave you with this excellent article which is nearly cut & paste to get you on your way in minutes: JSI Tip 0568 - How do I convert a file name to lowercase? | |||||
feedback
|
|
spacetornado Renamer is a Windows program that renames mass amounts of files in batches. You can search and replace text, remove a certain number of characters, change the case to lower, upper or First Letter Capital, and add text to the beginning or end (append/prepend) of every filename
| |||||||||||||||
feedback
|
|
From http://windowsitpro.com/articles/index.cfm?articleid=81612: Using only standard commands, I have scripted LwrCase.bat and LwrCase_Folder.bat, to rename a file name to lower case, or rename all file names in a folder to lower case. To rename a file name to lower case, use:
Where FullyQualifiedFileName is the fully qualified file name to be renamed. To rename all the files names in a directory, use:
where FullyQualifiedDirectoryName is the fully qualify folder path, and /S is an optional parameter that will also rename files names in all sub-folders. NOTE: LwrCase.bat makes use the the /L switch of the DIR command, which returns lower case names. LwrCase.bat contains:
LwrCase_Folder.bat contains:
| |||
|
feedback
|
|
http://www.dostips.com/DtCodeCmdLib.php#Function.toLower gives a simple function that you should be able to include and call from a batch file. So have the batch file iterate over the folders/filenames, and call this function to generate the lowercase version of the name. | |||
|
feedback
|
|
My personal favorite batch file-renaming utility is Cylog's WildRename. Among many other features, it can change the case of filenames. The best thing about WildRename is probably that it supports regular-expressions! | ||||
|
feedback
|
|
The best program for doing this in Windows is Bulk Rename Utility. It is a mans tool. You can even use regex to rename files and/or folders. It also has shell integration (so you can execute from explorer with a right click) which is very nice. 64 bit and 32 bit versions available. | |||
|
feedback
|
|
Go to the directory and run the following command:
| ||||
|
feedback
|
|
When you say 'only windows (XP or 7), does this exclude using Python? I saw this answer:
in this post. I can't vouch for this but it may be what you are looking for. | ||||
|
feedback
|