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: search and replace in file name

18 Aug 2011   #1

windows 7 home premium
search and replace in file name

I'm trying to shorten up some too-long file path names.
I have some recurring strings that I could just delete, but for the life of me I can't find any search & Replace function for file names.
Is there a way?

My System SpecsSystem Spec

18 Aug 2011   #2

win 7 X64 Ultimate SP1
Elevated Prompt

You probably can find some third party soft ware to accomplish this. Other than that It will be done at an elevated prompt. The snip is for the "rename" command. Type rename or ren with /? at the prompt for full syntax. this does not do a search.
Hope this helps.

Attachment 170881
My System SpecsSystem Spec
18 Aug 2011   #3

windows 7 home premium

Not going to work because I'm removing a recurring portion of the file name.
More specifically, I scan news in the morning and SAVE AS as html files.
Most publications include the name of their organization in the file name.
For example:
A Story About Something - The New York Times
So, I wind up with dozens/hundreds of files with the string "The New York Times" which I'd like to remove.
My System SpecsSystem Spec

18 Aug 2011   #4

win 7 X64 Ultimate SP1
Look See

Take a look at this.

Total Commander - home

No I don't think so.

Here is one.
My System SpecsSystem Spec
18 Aug 2011   #5

Microsoft Community Contributor Award Recipient

Windows 7 SP1, Home Premium, 64-bit

Download "Name It Your Way".

It's free.

Name It Your Way (NIYoW) - Professional free utility for mass renaming of files and folders

It's a renaming utility that does exactly what you need. It can rename a thousand files in a few seconds.

For instance, you could:

Delete specific text strings from any location within file name

Replace text string A with text string B at any location in the file name

Delete x number of characters from any position in the file name

Learning curve is fairly easy due to a wizard.

You choose the files to be renamed and then make a custom "rule" to govern the renaming for the chosen files. A given rule can be saved for later re-use or you can instead just make a new rule each time, depending on the specific requirements. Rules are made through a series of 4 or 5 dropdown boxes and then applied to the chosen files. You get a preview of what the renamed files will look like after the renaming. All changes can be reversed.
My System SpecsSystem Spec
18 Aug 2011   #6

Windows 7 Ultimate SP1 (64 bit), Windows XP SP3, Linux Mint 17 MATE (64 bit)

FreeCommander has a mass rename function (with quite a few options).

I use it to rename blocks of anime pictures/wallpapers.
My System SpecsSystem Spec
18 Aug 2011   #7

win 7 X64 Ultimate SP1
Nice Find

Good find Iggy!
My System SpecsSystem Spec
18 Aug 2011   #8

windows 7 home premium

Thanks, everyone.
My System SpecsSystem Spec

 search and replace in file name

Thread Tools

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 11:12 PM.
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