Rename files en masse in Windows

Bulk Rename Utility

Everybody hates it when they have to rename a fileset to fit a new naming scheme. Instead of doing it the hard way and writing a one-time script to go through and rename everything, check out Bulk Rename Utility from [Jim Willsher]. It provides you with a multitude of methods to take care of business and allows you do pick your favorite method, be it regular expressions, simple finding and replacing, prefix/suffix modification, or a combination of many more.

However, if the sheer amount of options available overwhelms you or if you just want an easier way to do things, check out A.F.5 from [Alex Fauland]. A.F.5 offers features like adding a counter to your filenames, change file attributes, and save your rename settings out to a file for repeat use.


  1. DarwinSurvivor says:

    Also check out explorerxp

    When I used windows (moved to linux since then), this was my main file manager. I found the mass-rename feature by accident and it was VERY powerful.

  2. karacharan says:

    Or you could use Total Commander, a norton commander lookalike that has also got a multi-rename tool that can do regular expression replace, text replace filname ranges, out increment etc..etc…etc…

  3. Anon says:

    I tried this and at the same time Siren – which I found much easier and just as powerful.

  4. zean says:
  5. ThunderBird says:

    Dude, Total Commander has had this feature for quite a while now! And pretty usefully implemented too: regexes, counters, pre-/suffixes, etc.

  6. TehBox says:

    You could probably write a pretty reusable perl script to do this in a few minutes…useful tool though, i suppose.

  7. JoshL says:

    I was trying to do this a while ago, and was surprised to find that Windows already provides bulk-renaming functionality.
    Select the files to be renamed and hit “f2″, then enter the desired filename, and windows will add an incrementing number onto this for the rest of them.

  8. drew says:

    wtf is this

    welcome to

  9. tecNik says:

    Oh lord, now we are a software review site? As if the constant news articles weren’t bad enough.

  10. mike says:

    drew – come on now, that’s not fair. it’s more like lifehacker (a gawker media site) (the one “featured” here) (works in xp too) (at least more hackish than this hackaday post)

    here are my submissions for quality content as a hack-a-day writer. please send payments via paypal to the email address associated with this post.

  11. Brazil says:

    Nice article.

    Amazing that some people still need windows.


  12. blinkybill says:

    ummm guys….. please just use Total Commander. It has an equivelant file rename tool, plus SO much more. And its CHEAP! Christian Ghilser is a master!

  13. Yrb says:

    This is not a hack, get this Windows shit off of hackaday.

  14. D says:

    Oh come on. Peoople bitch when a project has an arduino, and now they bitch when one doesn’t. Somebody make up their mind already!

  15. xyz says:

    If I don’t want to write a script to rename a bunch of files the first thing I’m going to do is look for a program with google.

    I come here for interesting projects I probably wouldn’t otherwise bump into. Not for boring utility software.

  16. John Bokma says:
  17. sly says:

    The Rename is what I’m used to using. it has all kinds of tricks up it’s sleeve for renaming bulk files.

  18. 24601 says:

    I’ve been using for several years now. It’s a decent little program.

  19. 24601 says:

    on an unrelated note, why do people always have to complain about what gets posted on this site? If you don’t think they’re up to some arbitrary standard you made up, then post your own articles and hacks.

  20. macegr says:

    @24601: first of all, the readers can’t “post their own” stories, that’s done by a few people who run this site. Second, posting better stories doesn’t mean the boring non-hacks won’t get posted. It’s up to the readers to make their opinions known, and up to the site owners to ignore those opinions. :)

  21. Ian Tester says:

    WTF? So using a third-party GUI tool on the most widely used OS is considered a “hack”?

    If the writers for this website are having trouble coming up with enough content, perhaps they should go back to having only one hack per day.

  22. sol says:


    I think 24601 means post your own articles and hacks on your own website (domain names and hosting fees are not huge these days) or on any number of free blog hosting sites. It makes very little sense to constantly complain about hackaday if you can do it yourself for almost nothing. This goes especially for those with self-proclaimed leet skills.

  23. BeMasher says:

    I’ve only ever used RegexRenamer, which is great because given some knowledge of regular expressions you could pretty much perform any sort of renaming operation.

    It’s free and open-source as well.

  24. anonymous says:

    what is this “windows”?

    //is it powered by an arduino?

  25. Larry says:

    I wrote my own program to change file names. It will also change file dates and create folders. Check it out:

  26. David says:

    This is what Python (or Perl, or Ruby, or…) is for.

  27. dviking says:

    Have used this bulk rename utility. Powerful. Like it.

  28. TRB says:

    Where’s the hack?

  29. mem.namefix says:

    Also checkout available for win32, unix and Apple – Opensource, cross platform, free and well supported and its been around since 2000.

    That being said, the Bulk Rename Utility & share the same basic feature set, with namefix having more detailed options and specific tools (ie block rename) while BRU has imagetag support.

    Feature requests are more than welcome, but over the last 9 years it has basically become feature full.

    mem – programmer and maintainer 1999-2009

  30. jdmichal says:

    PowerShell is a one-liner for a regex rename. I’m sure it’s similar in other environments.

    ls |% { Rename-Item $_.FullName $([Regex]::Replace($_.Name, ‘^(.*)\.txt$’, ‘$1.ps1′)) }

    Add a counter:
    $c = 1; ls |% { Rename-Item $_.FullName $([Regex]::Replace($_.Name, ‘^(.*)\.([^\.]*)$’, “$(‘$1′).$c.$(‘$2′)”)); $c++ }

    Why are these one-time scripts so bad again? Sure, the escaping gets a little hairy in the second one, as the $ is used for escaping both powershell variables ($c) and regex replacements ($(‘$1′)), but it gets the job done easily enough.

  31. jdmichal says:

    Oh, and copy-pasting those apparently won’t work because the single quotes get screwed up by the comment system.

  32. lekernel says:

    i use freebsd

  33. Tomasito says:

    @24601: Have you been in hackaday back in the days when pretty good stuff was posted? Well, i had, and i can tell you that this is not like thoose days anymore.

    And if you like, you can take a look at this post (it is one of the firsts posts of hackaday):

    “welcome citizen engineers. hack a day (beta) is a web magazine devoted to cataloging all the best hacks, mods and diy (do it yourself) projects from around web. each day i’ll post one hack i like, seen or tried and once a week a special how-to. this is in beta, so enjoy the occasional oddity and sawdust while it gets cookin.

    why a site? i thought it was time to have one spot on the web with all the things you can do with ipods, digital cameras, consoles, portables, locks, macs, pcs, anything that can be modd’ed or hacked. a lot of the desire to do this is so i don’t have to hunt around as much for ideas. the goal is for anyone who–has an old pda, a tivo, an atari, an ipod, xbox, or any device just sitting around, then hits, bang, sees all the things folks can do with it to void the already expired warranty or get more out of it.

    i’ll post some resources like make, pop sci, books and other things to check out too since i get get asked about that a lot.”


    So yeah, i complain about this kind of post, because this is not what hackaday innitially was intended to be.
    i am not angry, i am sad. i (and the little bunch of people that remains here as readers, from back 2004/5) miss the old posts style, the black & white photos, and the good commenters.

    Ps: i do not complain about how many arduinos they use in a cat dispenser. i do not like this kind of posts, about stupid software or obviosly pay-per-post ad.
    they still do post really nice things, but they fill the remaining “minimun posts per day” with, sadly, crap.
    Back in 2004/5 they did not post very often, but the posts was very good stuff in general.

    ps2: sorry for my baaaad english.

    ps3: i know i will probably get banned from the comments (because i had before), but i really do not want too much to comment in this days..

  34. lekernel says:

    @24601: i also tried to send some suggestions of better articles (and not in a rude/mocking tone), and they got simply ignored.

  35. mem.namefix says:


    yes its true – hackaday seems to hate the uzebox and simply ignores its existance, myself and multiple users have submitted it overtime.

    hackaday is slowly turning into an advert whore like :(

  36. TerreurBV says:

    I’ve bin using Bulk rename tool for a long time now very handy, need to rename alot of TV series and other files.

  37. Stendall says:

    ¿What a kind hack is this?
    C’mon, I don’t care too much about Windows in smartphones, emmbeded hardware, and so on…, but this just overkill.
    A rename software with features that can be found in software that yet exists in the BBS era.

  38. ClutchDude says:

    I’m kinda divided here.

    This pretty much could have been found with any simple google search and barely contributes anything to the blog.

    On the other hand, someone may be working on a project and be looking at 100’s of files to rename. In which case, any mention of a tool that you know works well would be a godsend.

    Then again….quality over quantity is always the best idea.

  39. walt says:

    thanks for the commercial break. this isn’t new, nor is it a hack. if you must write these things, why not make another section for it all. you could call it “helpful hints and tidbits”, “stuff you may find useful” or “please ignore”.

  40. bob says:

    for %%f in (*.*) do ren %%f %%fMyChoiceOfSuffixForExample

  41. strider_mt2k says:

    I have to admit I’m torn over stuff like this.

    Is it that there aren’t enough hacks or…something?

  42. Elemenix says:

    Meh…I prefer rename master.

  43. MrX says:

    WTF? This is totally LAME.

    Next article: GUI app for windows to allow bulk archive unpack.

  44. lekernel says:

    @mem.namefix: just googled the uzebox… and that’s impressive stuff! but avrs are made for building arduinos only, aren’t they?

  45. mem.namefix says:

    you can use the avr chipset by itself, the arduino is just a development platform.

  46. blizzarddemon says:

    Ive been using software like this for a couple years now, its great!

  47. lekernel says:

    haha, i know, but some people here tend to forget it :)

  48. its over says:

    this is the last straw. hackaday, you’re no longer my homepage. goodbye.

  49. MrX says:


    Indeed. Just like people that also forget that they can program for PC using a simple editor and a compiler toolchain, but they use overkill IDE’s like Visual Studio for the task.

    I hope you are not flaming arduino users when you use overkill IDEs yourself to program.

  50. Tomasito says:

    Maybe if the old “hackaday Lazy afternoons” came back, they could put this kinda stuff there.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

Join 96,353 other followers