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.
Answer
Sure thing, just add "*.RMT" inside the dir expansion, so:
('dir /l/b/a-d')
becomes
('dir /l/b/a-d *.RMT')
No comments:
Post a Comment