1.

Solve : BATCH RENAME?

Answer»

I have (what i believe) something simple....

How do you batch rename files....

I have 200 (*.jpg)s and wish to add one word INFRONT of the filenames.

how do you do this.....?

I THOUGHT it would be as easy as....


rename *.* rich*.*

But that replaces the 1st four characters of the filename.... :-?
I want to add the word rich in addition to the filenames....

THANK you in advance,
RUsing wildcards with rename can REALLY muck up a directory. This snippet will simply list the changes to be made. Once you're satisfied, change echo to ren

Code: [Select]for /f "tokens=* delims=" %%i in ('dir /b *.jpg') do (
echo "%%i" "rich%%i"
)

Good luck. 8-)
Thanx DUDE!

YOU ROCK!

ITS WORKS!



Discussion

No Comment Found