Add a character to a filename in command prompt

Using a for loop as long as the command prompt has security permissions to the folder this will work.

 

Replace <ext> with your file extension (or change to *.* to change everything) and <newtext> with the text you want added to the filename

for %a in (*.<ext>) do ren “%~a” “%~na <newtext>%~xa”

 

Credits: Karan from Superuser.com