Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Batch renaming folders and sub-folders


16 Apr 2010   #1

Windows 7 64-bit
 
 
Batch renaming folders and sub-folders

The structure of my photos library is Y/Y_M/Y_M_D, e.g. 2010/2010_04/2010_04_16 for today.
I want to change all the '_' to '-'.
Does anyone know an easy way of doing this?


My System SpecsSystem Spec
.

16 Apr 2010   #2

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
 
 

You can do it in Irfanview. Heres a couple of tutorials.

Batch

Rename a Series of Files With IrfanView
My System SpecsSystem Spec
16 Apr 2010   #3

Windows 7 64-bit
 
 

Thanks, but I can only see how to rename files there. It's just the folders and sub-folders I need to rename.
My System SpecsSystem Spec
.


16 Apr 2010   #4

Windows 7 64-bit
 
 

Maybe it could be done in a DOS command to copy the folders and files, then I could just delete the originals.
As an example I want to change e:\2010\2010_04\2010_04_16\img1234.jpg to e:\2010\2010-04\2010-04-16\img1234.jpg.
My System SpecsSystem Spec
16 Apr 2010   #5

XP Pro SP3 X86 / Win7 Pro X86
 
 

Quote   Quote: Originally Posted by imacken View Post
The structure of my photos library is Y/Y_M/Y_M_D, e.g. 2010/2010_04/2010_04_16 for today.
I want to change all the '_' to '-'.
Does anyone know an easy way of doing this?
File Renamer for Windows 7 - Rename all your files, folders and shortcuts - Windows 7 Download

JoeJoe's freeware utilities - [Rename Master]

And there are dozens more... Google is your friend.

But I would also suggest that your current scheme leads to unnecessrily long pathnames... You are repeating the year 3 times, the month twice in each path. You could do it as YYYY\MM\DD and have a much simpler scheme... Today would then be 2010\04\16... But that's just a thought...
My System SpecsSystem Spec
16 Apr 2010   #6

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
 
 

You could use a 3rd party app like renamer. See this page.

How do I ... use ReNamer to batch rename files? | Microsoft Windows | TechRepublic.com
My System SpecsSystem Spec
16 Apr 2010   #7

Windows 7 64-bit
 
 

Sorry guys, I'm struggling to see how any of these can rename folders. As you say there are a zillion tools out there for file renaming, but I just can't see how to get them to work on folders.
The first process in them all is 'select files'.
My System SpecsSystem Spec
16 Apr 2010   #8

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
 
 

try this.
My System SpecsSystem Spec
16 Apr 2010   #9

XP Pro SP3 X86 / Win7 Pro X86
 
 

Quote   Quote: Originally Posted by imacken View Post
Sorry guys, I'm struggling to see how any of these can rename folders. As you say there are a zillion tools out there for file renaming, but I just can't see how to get them to work on folders.
The first process in them all is 'select files'.
I found this... but have not tested or used it... no promises...

Fast Folder Rename v1.5 - batch folder renamer :: skyjuicesoftware.com


This one has checkboxes visible for renaming folders... again, untested...

http://www.snapfiles.com/get/flexrenamer.html
My System SpecsSystem Spec
16 Apr 2010   #10

Windows 7 64-bit
 
 

Thanks again for all your help guys.
Well, this proved to be a lot more difficult than I imagined it would be! Couldn't get most of your suggestions to work with folders, or couldn't understand the interface, e.g. BulkRenameUtility!
Others needed to be bought for sub-folders to work, etc. etc. I eventually got it done using Fast Folder Rename which is a weird bit of software that needs the files to be dropped into it to work. No real indication of that from the interface.
Anyway, it didn't handle sub-folders, so I had to drag and drop every set of folders into it from Explorer. Only about 150!

CommonTater: I don't use your suggested naming convention because it creates lots of folders with duplicate names, e.g. 16 for today, so searching is more tricky. But thanks for the suggestion anyway.
My System SpecsSystem Spec
Reply

 Batch renaming folders and sub-folders




Thread Tools



Similar help and support threads for2: Batch renaming folders and sub-folders
Thread Forum
Solved Renaming multiple folders General Discussion
Renaming folders problem General Discussion
Renaming Files/Folders Problem General Discussion
renaming folders General Discussion
Renaming folders using wildcats General Discussion
Renaming folders Performance & Maintenance
FOLDERS -RENAMING and Moving General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 08:15 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33