|24 Jun 2011||#1|
| || |
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.
|My System Specs|
|25 Jun 2011||#2|
| || |
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 Specs|
|Similar help and support threads for2: tagging and renaming filenames in win7 issue|
|Renaming files issue||General Discussion|
|Main User association/renaming issue 7HomePremiumm||Installation & Setup|
|Need Help Please : Images Organization, Renaming OR Tagging , What's b||Music, Pictures & Video|
|USB renaming Problem in Win7||General Discussion|
|Win7 truncates filenames with "." in it..||General Discussion|
|Win7 clobbers filenames copied to a NAS drive||General Discussion|
|Lame ACM and mp3 tagging||Network & Sharing|
|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 02:31 AM.