Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Adding a word to a file's name with CP, how?  (Read 3160 times)

0 Members and 1 Guest are viewing this topic.

drpeppercan

  • Guest
Adding a word to a file's name with CP, how?
« on: September 18, 2004, 11:57:27 PM »
CP: Command Prompt

Is there a command I could use to add a word to the name of a file? I know I can replace, but I need to add instead. What complicates things is that I need to do this for many files in  a given directory, each with a different name (longer than 8 characters).

Thanks in advance,

DPC

MalikTous

  • Guest
Re: Adding a word to a file's name with CP, how?
« Reply #1 on: September 23, 2004, 03:26:27 PM »
Only thing I could see doing it with would be environment variables, for-in-do loop with incrementing values, and maybe a couple of oddball little freeware utilities from the DOS batchware sites...

drpeppercan

  • Guest
Re: Adding a word to a file's name with CP, how?
« Reply #2 on: September 23, 2004, 03:39:31 PM »
I ended up doing the task with Bulk Rename Utility.
It would've been nice to do it with only DOS though. Assuming it wasn't too complex, otherwise it wouldn't be practical nor simple.

Thanks for the info MalikTous :)

DPC