Here is a simple recursive function to display all file-names with full path in folders and sub-folders. You can only run this command in Windows PowerShell available since the release of Windows 7.
Wednesday, 30 December 2015
Batch Rename All Files in a Folder to Lowercase in MS Windows
If you are not interested in external programs to renames all files in a folder to lowercase, there is a simple command for you.
- Open Command Prompt (cmd.exe) in Windows
- Go to the directory and run the following command
Note: This is not a recursive function, it will rename files to lowercase only on the directory where you will run the command.
- Open Command Prompt (cmd.exe) in Windows
- Go to the directory and run the following command
for /f "Tokens=*" %f in ('dir /l/b/a-d') do (rename "%f" "%f")
Note: This is not a recursive function, it will rename files to lowercase only on the directory where you will run the command.