Software-OK
≡... News | ... Home | ... FAQ | Impressum | Contact | Listed at | Thank you |

  
HOME ► Faq ► FAQ - Windows cmd.exe Command-Prompt ► ««« »»»

Ability to batch rename files in lower and upper case?


It is easy to rename files in batches using a script or command prompt in lower and / or upper case letters on Windows 11, 10, ... and MS Server OS!



Everyone is looking for or needs at some point a way to rename all files in folders and subfolders in lower case or upper case, luckily this is not an impossible task under Windows 11, 10, .... and MS Server OS!  

Contents:

1.) ... Use the command prompt to convert all files to lower case
2.) ... Effective PowerShell examples to rename to lower  and / or upper case!
3.) ... Example in Explorer from the address bar!




1.) Convert all files to lower case at the command prompt  

To recursively with subfolders use the / r  parameter with  the dir command :   dir /r/l/b/a-d "%f"

 
cmd /k for /f "Tokens=*" %f in ('dir /l/b/a-d') do (rename "%f" "%f")

2.) Effective PowerShell examples to rename in lower and / or upper case letters!


The PowerShell command to convert files to upper case and the file extension to lower case! 


Dir | Rename-Item -NewName {$_.BaseName.ToUpper() + $_.Extension.ToLower()}



The PowerShell command to convert files to lower case and the file extension to upper case! 


Dir | Rename-Item -NewName {$_.BaseName.ToLower() + $_.Extension.ToUpper()}



The PowerShell command to completely rename files in capitalization!
  


Dir | Rename-Item -NewName {$_.BaseName.ToUpper() + $_.Extension.ToUpper()}

3.) Example in Explorer from the address bar!


Example in Quad Explorer from the address bar with additional recurses to include all subfolders!

( ... see Image-1 Point 1 )

You can also use the address bar in MS Windows Explorer!

(Image-1) Stacks of files in upper and lower case over the address line!
Stacks of files in upper and lower case over the address line!

-
▲ Back to the top ▲




FAQ 107: Updated on: 11 August 2021 17:24 Windows
Windows-Console

Delete all files except the most recent via command line, script or CMD.EXE?


It is easy to delete all files except the most recent via command line, script or CMD.EXE for Windows 11, 10, and MS Server The most popular script
Windows-Console

Serial number of the hard disk under Windows 11, 10, ... via command prompt!


It is quite easy to find out the serial number of your hard disk under Windows 11, 10, or MS Server 2022, at a command prompt There are free hard
Windows-Console

Find out the PC serial number and manufacturer via command prompt?


Using the command prompt, it is easy to find out the PC serial number and manufacturer under Windows 11, 10, and MS Server OS Everyone has ► read out
Windows-Console

Lock the PC via the command prompt, Windows 11, 10, ...!


Locking Windows 11, 10, or MS Server 2022, 2019, is also possible via the command prompt It is not the fastest way to lock your Windows 11, 10,
Windows-Console

Share more fonts for Windows 11, 10, ... command prompt!


It is easy to give more fonts for Windows 11, 10, command prompt Everyone has ► changed the color, font, etc. for the command prompt / CMD  may
Windows-Console

List hidden files via the command prompt in Windows 11, 10, ...!


It is easy to list hidden files via the command prompt in Windows 11, 10, 1. Show hidden files with the command prompt 2. Show hidden files
Windows-Console

Activate the classic boot menu under Windows 11, 10, 8.1, ... again!


The classic boot menu / boot load of Windows can easily be reactivated to start better in safe mode or with repair options 1. Activating the classic

»»

  My question is not there in the FAQ
Asked questions on this answer:
Keywords: windows, 11, 10, console, ability, batch, rename, files, lower, upper, case, script, command, prompt, letters, Questions, Answers, Software




    

  + Freeware
  + Order on the PC
  + File management
  + Automation
  + Office Tools
  + PC testing tools
  + Decoration and fun
  + Desktop-Clocks

  + SoftwareOK Pages
  + Micro Staff
  + Freeware-1
  + Freeware-2
  + Freeware-3
  + FAQ
  + Downloads

  + Top
  + Desktop-OK
  + The Quad Explorer
  + Don't Sleep
  + Win-Scan-2-PDF
  + Quick-Text-Past
  + Print Folder Tree
  + Find Same Images
  + Experience-Index-OK
  + Font-View-OK


  + Freeware
  + OpenCloseDriveEject
  + ColorConsole
  + IsMyLcdOK
  + DesktopDigitalClock
  + ClassicDesktopClock
  + PreventTurnOff
  + QuickMemoryTestOK
  + IsMyHdOK
  + AutoPowerOptionsOK
  + PAD-s


Home | Thanks | Contact | Link me | FAQ | Windows 2021 | Windows 10 | English-AV | Impressum | Translate | PayPal | PAD-s

 © 2023 by Nenad Hrg softwareok.de • softwareok.com • softwareok.com • softwareok.eu
0.062


► Start Windows Terminal as administrator in Windows 11! ◄

► Activate / deactivate the TelNet client under Windows 11, 10, 8.1, ...! ◄

► Troubleshoot, repair or recovery Windows 8 and 8.1 with Windows 8 (8.1) Installations DVD! ◄

This website uses cookies to ensure you get the best experience on our website more Infos & Privacy Policy
....