@echo off
color 0a
title Stack Overflow Answer
set /p f=File to rename(drive and path):
set /p e=Extension to rename to:
set /p nf=File name to rename to:
echo Renameing...
@ren "%f%" "%e%.%nf%"
cls && echo Done! && pause >nul
exit
добавьте этот текст в файл rename.bat и запустите его!