0

In this link Is there a way to batch rename files to lowercase?

there is a command given

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

This works when i want to convert all filenames in a folder to lowercase.

However, is there any way to convert files of only one type (eg .RMT) to lowercase?

Thanks in advance.

1 Answers1

1

Sure thing, just add "*.RMT" inside the dir expansion, so:

('dir /l/b/a-d')

becomes

('dir /l/b/a-d *.RMT')
Keltari
  • 71,875
  • 26
  • 179
  • 229
fede.evol
  • 1,918
  • 1
  • 12
  • 6