Stupid Windows Trick – Mass Renaming

Windows LogoHere’s a trick which you don’t use every day, but I believe that every thing you know can come in handy some day. This is a stupid little trick that I discovered quite by chance. I am not sure where anyone would want to use this, but here’s a trick to rename multiple files in the explorer in one go.

Take a look at the screen shot below. It shows a large number of files with different file names and extensions. Now if for some reason, I wanted to rename them all to something else, this is how I would proceed.

Files

  1. Press Ctrl+A to select them all (or you could Ctrl+Click to select only a few).
  2. Press F2 to enter into rename mode (note you will only be renaming one file here).
  3. Type in the new name (in my example, I choose Image) and press enter.
  4. All your selected files are renamed Image, Image (1), Image (2), and so on and they retain their original extensions (see image below):

Files

Cool trick, huh? Well, I did say that it is a stupid trick.

If you found this content helpful, then please help by linking to me. You can also help me by sharing the content using any of these nifty buttons above. Thank you.



You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

15 Responses to “Stupid Windows Trick – Mass Renaming”

  1. I could have used this about six months ago when I was doing a web project for a client. not stupid.

    Reply
  2. Thanks Burch, well I guess I was right first time. Every little thing you know can come in handy someday :)

    Reply
  3. Thanks for the tip, this actually came in very handy for me. I listen to audio books on my BB, but all the books are the same no title track 1, track 2 etc. up to 100 and are separated into multiple books, but if you want to put all the books you end up with 10 track 1′s, 10 track 2′s etc and then doesn’t play in order. with this tip I was able to rename all the tracks at one time so now its book1(1) book2(1). Very helpful and saved me. Thanks for posting.

    Reply
  4. WOW.. this REALLY helped me with a Client! Just wanted to say thanks!

    Reply
  5. I like your style

    Reply
  6. there is a short dos script to mass rename files with similar names:

    for /f “delims=’.’ tokens=1,*” %i in (‘dir /b “*.txt*”‘) do @ren “%i.%j” “%i.txt”

    Reply
  7. Hey, thanks for the tip. This ain’t stupid, it’s very helpful IMO. Your method solved a problem that a mass renaming program couldn’t solve because the program couldn’t read the characters in the filename. Many thanks.

    Reply
  8.   SineadOConnor Says:

    Isn’t it ironic? nobody got the point, that this “feature” is a pain in the ass, as it may get you into serious trouble, if it is accidentially used, as there’s no undo in windows explorer. just look at the two screenshots. how do i disable this bullshit?

    Reply
    • Of course, there are so many features that could get you in trouble. Shift+Delete for example after pressing Ctrl+A. C’mon, how can you use this accidentally?

      Reply
    • @Vaibhav: This is really useful! Thanks so much for sharing!

      @SineadOConnor: It’s still possible to undo by pressing “Ctrl + z”. I accidentally rename it wrongly and was able to undo it just now when I tried it haha.

      Reply
  9.   Khalid Muhaisen Says:

    Smartest solution is the easiest one. this is so far beyound stupidity.. this is briliant buddy!

    Thank you

    Reply




Leave a Reply