Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • December 04, 2016, 10:34:57 PM
  • Proudly celebrating 10 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 2090 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:23 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:52 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
  • ***
  • default avatar
  • Posts: 2,925
    • View Profile
    • Donate to Member
Re: App to batch rename to specific name?
« Reply #2 on: March 16, 2010, 04:09:29 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.