Want to rename multiple files at once? So watch our complete video to learn how to rename multiple files at once with different names by command prompt. Please like our channel for advance tips and tricks!
If you're using Windows 11, instead of using '/d' in the command, use '/b'. For example: dir /b > list.txt Microsoft changed the way dir commands function in Windows 11 and you now have to use the /b tag to generate a list that's easy to paste into Excel. Using /d will end up with a wrapped list with two filenames per row instead of one, which makes pasting into Excel a CHORE to the point where it'd be more time-efficient to just manually go through each file and rename them yourself in file explorer. If you use /b, it will generate a list formatted the same way as the list that's used in this video.
Thank you so much for this! FYI it also works with items in sub-directories I had 17,000 files from a crashed hard drive that were all named Thumb1 2 or 3. They were all in different folders but until I used this with the directory path and file name I was going to have to manually change all the names. This saved me HOURS & HOURS of time to recover these pictures of my kids. Thank you!
That works but to a point. I did all that you suggested, but then what happened was that there's 116 pictures in my folder, and when it got to the 26th picture, it started adding the number in parenthesis starting with (1) again?????
Thank you for the video, this worked perfectly! Note: If command prompt won't let you paste, right click on the window's title bar then open the Properties. Then enable Ctrl+Shift+V !
Thank you very much! I had to modify part of the formula to """"&A2&B2&"""" because the extension was missing from the original file for some reason. But it worked, saved me lots of time.
I used this to remove the "(2) - Copy" from all files after separating the originals to a different folder. Excel was perfect for this becasue the formula makes it much easier for different file types too. Pro Tip: I had to do this in a Network folder I could not cd into. In that case, add a column for filepath to go in the equation and it will work the same if you have write access. Example: a new column for filepath = 'V:\user\home enamedFiles\' I placed this in the E column then equation becomes: =D2&" """&E2&A2&""" """&C2&B2&""""
This was extremely helpful. Thank you. For those who are getting two columns instead of a single column, type in: dir /b => filename.txt This worked better for me.
Thank you so much you really helped me. But.. in a different way :D I was using other easier tutorial from a to z but it didn't work. So I changed only last step from that other tutorial and I have added quotes (") to the files name. And it worked like magic. Thank you so much ❤️
This so helpful, thank you 😁 ive doing a scanning project and it turns to it to rename all files. With differebt type of file name. I will practice this to make my work easy.
I was looking to batch rename files in Linux but decided to take a look at your video just for curiosity. Result: I'm so glad I don't use this windows crap...
amazing, very useful.....only one problem i have faced is in the video you said to type "dir/d=>filename.txt" it creates file but in that, file names have no order or not came one by one, it came infront of each other..... so i tried /b insted of /d and i got proper results. (i did it blindly) can you pls explain what is reason behind that??
Fantastic...!!! Awesome.....you never know what did you do.. My work is almost reduced to 2 mins from 20 hrs In renaming thousands of files every month.