How to rename multiple files in Windows
Вставка
- Опубліковано 23 сер 2024
- In this video I show you a few different methods for renaming multiple files all in one go in Windows using the Windows PowerShell, Windows command prompt and Windows file explorer.
---------------------------------------------------------------------------------
PowerShell
dir | Rename-Item -NewName {$_.name -replace "Taiwan", "TW"}
dir | Rename-Item -NewName {$_.name -replace " ", "-"}
dir | Rename-Item -NewName {$_.name -replace "TW-", ""}
dir -exclude "Taiwan-*" | Rename-Item -NewName {"Taiwan-" + $_.name}
dir | Rename-Item -NewName {$_.basename + "-example" + $_.extension}
---------------------------------------------------------------------------------
Command Prompt
rename "Taiwan-*" "Taiwan *"
ren "taiwan *" "///////*"
ren "2015*" "2016*"
For %a in (*.*) do ren "%a" "prefix-%a"
Karina..you have literally saved me hours of work for 10 minutes of learning. Thank you so much ! X
That was incredibly informative, valuable, and educational... and your teaching style and presentation are the best I've ever heard or seen, and I've taken a lot of technical classes from professionals and companies throughout the years. Your insights and details are perfect. Thank you very, very, very much for taking the time to prepare and publish this video. You are Super, and I am now a loyal fan. Continue to be your Best and Better.
I thought I knew "a lot about computers" as a PC builder, a 3D modeler/renderer, and a keyboard shortcut obsessed person (e.g. Win+E, Win+P), but this lesson about PowerShell blew my mind.
Thank you for sharing!
I just came here looking for a way to quickly rename some video files because I was feeling lazy... but oh man, this is SUPER useful! I'm actually an Economics university student and I do a lot of work with data analysis and graphics, your example about typing the wrong year was painfully relatable lol. Thank you so much!
THANK YOU, GIRL! Omg, you've saved my life. I was crying hard trying to fix just a part of my 5hundred file names. You deserve a nobel price
Thank you so much! I can't express enough how much this has helped me. I've been renaming my video files manually. Saved me time, aggravation and frustration. Excellent, easy instructions. 🥰
I looked up several tutorials on how to do this and yours is by far the easiest to follow along. I tried two other videos and couldn't get it to work. With your tutorial, it worked like a charm the first time! Thank you!!!
I was looking for a script. But after watching the first few examples I realized that using a script, things could go horribly wrong. This method is so much more controlled yet still much faster than renaming files individually. You Ma'am have saved me hours upon hours of tedious and repetitive typing. Thank you.
That was absolutely first class. You helped me so much there and has made a huge difference to my work. You explained the steps perfectly. Hugely impressed. Many many thanks :)
Thank you so much. This is the best video I found. I only needed the code on adding name at the beginning and you're the only one who had it. So helpful!
FANTASTIC! - This helped me rename an "eff" ton of files at once!
Wow! Amazing, Karina. This is one of the best videos at the moment! You explained it very details and the quality is superb!!
the way you explain is plain & simple. easy to understand.
Karina, Thank you for sharing this video. It indeed help me saving time. Also as a Taiwanese seeing the video with “Taiwan” as a example. It made me more focus in the film.
Fantastic tutorial, used to use a bulk rename utility but this does just as well and doesn't involve installing anything on my work computer!
THANK U!!!! U saved me from sitting and spending days renaming thousands of files
There we go. I knew it was easy. Just couldn't find the right video. Thanks for adding the commands.
This was probably the most useful video I've ever seen
Best tut about bulk renaming I've ever seen, Thanks a lot.
BTW, I loved your accent.
Thank you! One of your examples was exactly what I was trying to do. The -exclude parameter took care of the problem I was having with repeated renaming.
Oh my god this was so freaking easy with the text inside the description. I wanted to remove the site name from pdf files I saved for recipes I just downloaded in the last few days I have over 100 I needed to remove the site title from. At least now when I start tagging them and adding and removing specific words this will be much easier. That you very much for the video.
Thank you for explaining so clearly and simply using easy to understand English.
incredible ma'am .
I've trying to rename files extension in bulk but couldn't open cmd prompt rightly . thanks to your video, i can do it now
Thank you very much. Saved me a lot of time and headache, renaming a bunch of files in this one folder.
Thanks a lot. You made my day. My issue got resolved after a long time. Appreciated
Your demonstrations/explanations are very clear and easy to understand. Thank you so much!
Thank you for this informative Video! I looked long time for a description, how to rename bulk files. THANK YOU!
6:01 is what I was looking for OMG thank you very much !!!!!!!!!
Me too!! - I wonder why this is NOT just built into Windows? seems like a pretty simple and useful feature to implement
After doing a search here in youtube ("batch rename jpgs in windows") it came up with SEVERAL tutorial options. This was not the first video option but it was the first one I happened to view, AND BOY AM I GLAD. I did not care for the 'POWERSHELL' part at the beginning...I could not even find that function on my PC. However at 7:55 the part of renaming using the CMD window looks very promising. Also, and the BEST option for me since I tested it successfully just now, is the last method explained starting at 13:31 in the video. That option has slightly limited results in WHAT it renames your files, however it will do JUST PERFECTLY for what I need to do to the 7600 photos I took yesterday (which I will later compile into a time lapse video).
Amazingly explained. Saved so much time of mine. Thank you!! Keep up the good work
Thank you! At last someone showing all the options available instead of just showing how to bulk replace entire name with another! And may I just add that another way of opening the powershell is by just opening the folder in a window, then by clicking on the address bar and just typing "powershell" (right clicking didn't work for me). After hitting enter powershell opens directly in the same folder. Once again thank you!!!
you have to right click +SHIFT FOR 2 TIMES BEFORE OPEN WITH POWERSHELL APPEARS OPTION, i AM NOT SCREAMING
Great video, I'm training a model and I have thousands of images to rename. Thank you so much!
ha ha ha, i knew some of this stuff like the back of hand my except i didn't know CMD commands were different in Windows Power Shell. This is such a valuable tutorial, a must!!!
I hope you are a teacher, because with such clear and good instructions it would be such a waste if you werent, but nevertheless pursue what you love
Thanks a lot. I can't explain how much easier you have made my life.
You have no idea how much this helped me. Thank you!!!
Thanks, Karina! Exactly what I needed.
Thank you so much for this! This has saved me so much time on renaming hundred of files!
Excellent info, well presented, one thing I could suggest to improve. Thing or anything does not have a K on the end, e.g. not Anythink. Again, I think your video was extremely helpful. Thanks
You are my favorite person today! Thank you for this video!!
Excellent video. Very well done and exactly what I needed for renaming my hundreds of scans of old family negatives and slides! Thank you SOOOOO much! You saved me tons of time and agonizing keyboard work!
Thank you so much, the first three minutes was exactly what I needed.
Very helpful. You deserve a medal.
Thank you so much for the tutorials, Karina. It's very helpful
Helped a lot, thanks! It was necessary to remove the spaces from the names, it worked :)
Super useful! Thank you for the knowledge.
Thank you Karina, you are a legend.. Saved me soooo much pain dealing with photo transfers from my iphone
Thank you so much for this, the struggle has been real
this helped me so much! Perfect tutorial thank you!!
Saved me countless hours, and good explenation. Many many thanks :)
AHh Thank you! Had to rename over 600 png files for it to work in maya. The renaming convention made it work!!!!
Thank a lot it saved my lots of time and this was the perfect solution that i was looking for!
It was very useful...thank you so much for making this video.
Thank you soo much,
you explained very well and it helped us a lot,
keep going, best of luck.
This was an excellent tutorial, Thank you so much!!!
you have saved me 100s of hours! I can't thank you enough for this video! 100 out of 10!! Thank you!
wow this video is absolutely fantastic, thank you so much to share your knowledge in this video
Thanks a lot, this was very useful and you explained it really well!
Thanks So Much-Quick, Simple and VERY EFFICIENT
excellent video !! i wish you showed how to add increasing numbers at the start or end of file name, that would have been perfect, i guess i can do that by combining the multiple rename windows tool with ctrl+a and f2, and then a few powershell commands to remove spaces and parentheses, but a powershell command would have been nicer, more customisable
Thank you for making the video. Good job.
Wonderful tutorial and tremendously helpful! Thank you for your time and passed knowledge 🤗
Wonderful video tutorial! Thank you very much :)
Thank you so much. Rename replace example was a big help.
Very good. Just that with more contra color, it will be easier to see what you type.
Thankyou i been looking for this for hours.
Wow, very educational and detailed video it was easy to understand and use, thank you so much.
Very helpful video. Thank you so much!
Super helpful, thank you for taking the time.
TRUELLYYYYYY WONDER FUL. it saved me days of work. thank you for you kindness to share it awesome
Thank you so much. You saved me a lot of time, i'm so relieved.
You really amazing, this video so helpful.. Love you from DOD
Absolute baller! Thanks!
Thanks for sharing such a time saving technique.
So so so so SO very helpful thank you!!
This is so helpful. Thank you.
this video was a great help to me. Thanks a Lot :)
This was so helpful thank you!
Very helpful. Thank you so much!
This tutorial save my life thank you.
OH MY GOD THIS IS BRILLIANT. Thank you for such easy-to-follow instructions with clear explanations. I've been pulling my hair out over this! Please tell me you're writing a book! (Quick question: is there a way to rename files sequentially starting at a number other than "1"? )
Select all the files. Then press F2. Rename the first file whatever you want to call it and type the number you want to start with after it in brackets. Then press Enter. This should number all of your files starting at the number you typed in.
You're kidding. That's all? Good grief, I've been tying myself in knots! I knew about using F2, but this is just ridiculously easy. Thanks again! (P.S. Still waiting for your PowerShell book to come out!)
13:32 That is what I was looking for. WAY TO GO, very easy
Thank you very much, well appreciated!
Thank you very much! It was really useful!
Time saver! Thank you so much!
Saved a lot of my Time.Thank You very mu
Verry useful rare information. Its really great👍✔️
Brilliant - thanks very much!
Superb ...works.. amazing insight... Karina... god bless
Thank you soooo much! This literally saved me.
Perfect! It did exactly what I needed.
Excellent.... one doubt- how to remove only first and second space in windows power-shell
Its help me a lot.. thanks for posting this video
You helped me to save so much time thank you with love
Thanks... You literally saved my hours...
Thank you so much. It helped me a lot.
so helpful, thank yout for the tutorial
I love you sooo much !! thank you for this :)
Very helpful. Thanks you
Hugely impressed. Many many thanks.. Con you show how to replace those brackets [ ]