Append a common text to a group of files
Posted: 06 Jul 2010 12:14
I've been racking my brains on this one. It should be easy but I think I'm missing something obvious.
I have a group of files (ex. .mp3's) and I would like to add an alphanumeric prefix to the whole group of files in a folder.
Example:
1234567890.mp3
2345678901.mp3
3456789012.mp3
etc.
I would like to prefix all of them with two or three digit characters so the result would be:
Example:
psr1234567890.mp3
psr2345678901.mp3
psr3456789012.mp3
etc.
A simple rename command will strip the filename down to eight characters with my prefix.
Is there a dos script routine I can use to accomplish this?
Thanks - Rick
I have a group of files (ex. .mp3's) and I would like to add an alphanumeric prefix to the whole group of files in a folder.
Example:
1234567890.mp3
2345678901.mp3
3456789012.mp3
etc.
I would like to prefix all of them with two or three digit characters so the result would be:
Example:
psr1234567890.mp3
psr2345678901.mp3
psr3456789012.mp3
etc.
A simple rename command will strip the filename down to eight characters with my prefix.
Is there a dos script routine I can use to accomplish this?
Thanks - Rick