DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: App to batch rename to specific name?  (Read 5,943 times)

ald4

  • Participant
  • Joined in 2009
  • *
  • Posts: 9
App to batch rename to specific name?
« on: March 16, 2010, 04:32 PM »
Hi
I don't know if 'batch' is the right word for this situation

I know there are a huge amount of batch renamers out there, but they're mostly built to rename based on specific rules and wildcards.

I'm looking for something that could rename a specific file to a different specific name at a later date

This would be useful when a program has locked several files from being changed or renamed and you don't want to keep closing the program to free it.


Eg if I have the files:
ddsaadsv
sadfewss
adfdsvvd

I'd like to be able to build a list like:


Old NameRename
C:\ddsaadsvC:\anyfilename
C:\sadfewssC:\anotherfilename
C:\adfdsvvdC:\adifferentfilename
Run

Then later that day when I hit a "Run" button, the renaming takes place.

Are there any batch renamers that already have this function?

Mickets

  • Participant
  • Joined in 2010
  • *
  • Posts: 13
Re: App to batch rename to specific name?
« Reply #1 on: March 16, 2010, 06:39 PM »
You can write a DOS BAT (batch) file to do that, with DOS command lines.

If the file names are always the same ones, then something as simple as:

Quote
rename C:\ddsaadsv C:\anyfilename
rename C:\sadfewss C:\anotherfilename
rename C:\adfdsvvd C:\adifferentfilename

(just copy and paste in Notepad, and save as a BAT file - e.g.: MYFILE.BAT. Double-click to run).

If you want to go further in complexity, learn more about BAT files at DOSTips.com.

Mickets

rjbull

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 3,217
Re: App to batch rename to specific name?
« Reply #2 on: March 16, 2010, 09:09 PM »
A vast array of batch file enhancers exists, including small programs that check the time/date so you could make the batch file run when you wanted.  You'd have to check to make sure they ran on recent versions of Windows.  Take a look at these two pages from the Free Software for DOS Web site:
And on no account overlook Horst Schaeffer's Batch tools page.

Original address: https://www.donationcoder.com/forum/index.php?topic=22131.0