Using cmd to replace the first "x" caracthers file name

AfterLife6

Honorable
Aug 14, 2013
36
0
10,530
Hello!
It it possible, using the windows cmd, to replace the first "x" characters of a file name to something I want?
I have a large number of files to do this but it is boring to do it one by one.

Thank you
 
you can use ? as a wildcard.
so:
ren ???somename*.jpg 123somename*.jpg
would rename both abcsomename1.jpg and 100somename2.jpg to 123somename1.jpg and 123somename2.jpg
However, I heavily recommend using 3rd party software since lot of ?'s and *'s can easily mess whole thing up and in command prompt, there is NO undo.