I have some files in a folder and would like to uppercase the first letter of all the filenames with a certain extension using a batch script in windows.
example cap only *.m
before:
after:
for %%a in (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) do (
ren %%a*.m %%a* >nul 2>&1
)
Check also this -> https://superuser.com/questions/475874/how-does-the-windows-rename-command-interpret-wildcards
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With