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 Answer 1

1

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

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

becomes

('dir /l/b/a-d *.RMT')

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .