I am trying to change the file extension of all .rtf-files to .doc in a folder and all subfolders.
I found a great solution here: Rename files in sub directories
But my file fails when it encounters long file-names (The syntax of the command is incorrect.)
for /r %%X in (*.rtf) do (
ren %%X *.doc
)
I am up for totally different solutions as well. Working in a large file-environment that has been changed to Office 365 that does not support rtf - but does support them when renamed to doc.