topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 3:52 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: App to batch rename to specific name?  (Read 4077 times)

ald4

  • Participant
  • Joined in 2009
  • *
  • Posts: 9
    • View Profile
    • Donate to Member
App to batch rename to specific name?
« on: March 16, 2010, 11:32 AM »
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
    • View Profile
    • Donate to Member
Re: App to batch rename to specific name?
« Reply #1 on: March 16, 2010, 01: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:

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
  • ***
  • default avatar
  • Posts: 3,199
    • View Profile
    • Donate to Member
Re: App to batch rename to specific name?
« Reply #2 on: March 16, 2010, 04: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.