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: tagging and renaming filenames in win7 issue

24 Jun 2011   #1

windows 7
tagging and renaming filenames in win7 issue

Hi everyone, i need to replace a portion of a filename in a folder. You probably won;t be familiar with the app "sage converter" for Stylus RMX, but i am hitting a file length problem during the process (please see attached image).

I have a solution, but I need you to suggest a method/windows-dos app which would facilitate the following:

One of the many files(of which there are hundreds-otherwise i would do it manually) which is causing me a problem is the one listed :"FL_DubbedGtr+Dubbed_60BPM_AMAJ_06.rx2". All the files i wish to rename and shorten will have the same portion of text within each filename,e.g. "FL_DubbedGtr+Dubbed". I wish to search throughout a folder in Windows Explorer and replace that phrase with "Dgtr". This will reduce the length of all the filenames to a size which my app, "sage convertor" can handle.

So, My question is, is there a way to search and replace partial phrases in all filenames in a folder, or can you suggest a method by which i can achieve this?

Thank you for looking.

Attached Images
tagging and renaming filenames in win7 issue-rexfiles.png 
My System SpecsSystem Spec
25 Jun 2011   #2

Windows 7 Ultimate x64 SP1

Normally, I would solve this easily using cygwin, but this is because I am very familiar with UNIX shell programming.

As an alternative, I have an idea:

you need to create a batch file, something like "rename_files.bat".

Every line will be of the form: ren bigname smallername

First, get the list of files: dir > FILELIST.TXT

Then open this in Microsoft Excel, and get rid of the other stuff, you should be able to get all the filenames into one column. Then copy them to the next column and do the replace that you want. Then, insert a column containing "ren" before these two.

Now each row looks like: | ren | oldname | newname |

Finally, export as a tab separated file and rename it to the batch file.

Run the batch file and you are done.

I hope this helps!
My System SpecsSystem Spec

 tagging and renaming filenames in win7 issue

Thread Tools

Similar help and support threads
Thread Forum
USB renaming Problem in Win7
I'm new here and want to know something. The image above is from Windows XP. When we insert USB drive, XP shows the drive with itís name. We can rename it also. Itís very nice. ...
General Discussion
Renaming files issue
Hi, Does anybody know how to rename a bunch of files in Windows 7 while ignoring the filetypes at the same time? In Windows XP this wasn't a problem, no matter what format the file had, the numbering would continue anyway. In Windows 7 the numbering starts over again when a file has a different...
General Discussion
Main User association/renaming issue 7HomePremiumm
Hello all and many thanks for looking to help me out. I recently had a relatively new HP Pavilion p6715f running Win7 Home Premium 64bit given to me by a relative and I proceeded to make it my own with regards to the computer ownership and the main admin user. Due to the complexity of...
Installation & Setup
Need Help Please : Images Organization, Renaming OR Tagging , What's b
Do you rename ur pics or just tag ? I was organizing my pics , n i've like 700,000 pics & wallpapers . some are sorted , some not . i was thinking on some kind of organisation format . Now question is, if i organize by developing some kind format , what's better ?
Music, Pictures & Video
Win7 truncates filenames with "." in it..
I've recently upgraded to Windows 7. My company uses files that have version numbering such as "Customer Filename v1.0.xlsx" In previous versions of Windows (Vista and XP), there's no problem with this. But with Windows 7, the filename keeps getting truncated to "Customer Filename v1", which means...
General Discussion
Win7 clobbers filenames copied to a NAS drive
My setup: Windows 7 Pro (locale: Polish) and a NAS drive (D-Link DNS-323) attached via a router. Just recently upgraded from XP to 7. The NAS drive reports an NTFS partition. The problem I've just discovered: when copying files to the NAS drive, if a filename contains certain characters, such...
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 01:30.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App