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: Deleting a Common Element from Multiple Files

03 Oct 2013   #1
obsrvr

Windows 7 Professional x64
 
 
Deleting a Common Element from Multiple Files

Hello,

I would like to delete a common element from a bunch of files in Windows 7, is there a way to that at all?

For example, I have 100 video files and the names of all of them contain "on Youtube" at the end...I would like to get rid of them without actually renaming the files. Also, those files contain some commas and other symbols. I would like to know if Windows in generally as flexible as Excel if you know what I mean. This problem in Excel would have been a piece of cake with a couple of formulas. As for Windows I do not know, but seems to be a challenge at the moment.

In general, I am looking to organize these files by Date, Name, and Topic, and if there is no way to do this task quicker it looks like I am going to have one messy library. Please share your thoughts.

Thanks for help.


My System SpecsSystem Spec
.
03 Oct 2013   #2
BisVal

Win 7 Ult 64-bit
 
 

For batch renaming and editing multiple files I use xnView . It has more options than the windows explorer.
My System SpecsSystem Spec
03 Oct 2013   #3
archer

Windows 7 ultimate x64
 
 

hope this helps.

File bathc rename
My System SpecsSystem Spec
.

03 Oct 2013   #4
Bongo

Microsoft Community Contributor Award Recipient

Win 7 Pro x64 / Win 10 Pro
 
 

Welcome to the Seven Forums

Bulk Renamed Utility would be the way to go Download - Bulk Rename Utility

Jerry
My System SpecsSystem Spec
03 Oct 2013   #5
obsrvr

Windows 7 Professional x64
 
 

Quote   Quote: Originally Posted by BisVal View Post
For batch renaming and editing multiple files I use xnView . It has more options than the windows explorer.
Thanks for responses guys, it does not look it will help me achieve what I am asking for. I do not want to rename files, I would like to switch one common element to all files - file names in general should remain the same, except for their structure. In excel, you would do something like this with Find and Replace (from the above example): Find "on Youtube" and Replace with "" (nothing), it would be done. How do I do the same in Windows? Please read carefully what I am asking for.

If I misunderstood your response please tell me exactly where.

Thanks in advance.
My System SpecsSystem Spec
03 Oct 2013   #6
archer

Windows 7 ultimate x64
 
 

Download "Name It Your Way".


It's free. It's a renaming utility that does exactly what you need. It can rename a thousand files in a few seconds.
My System SpecsSystem Spec
03 Oct 2013   #7
Bongo

Microsoft Community Contributor Award Recipient

Win 7 Pro x64 / Win 10 Pro
 
 

With Bulk Renamed Utility you can remove "on Youtube" and Replace with "" (nothing).

Jerry
My System SpecsSystem Spec
03 Oct 2013   #8
lehnerus2000

W7 Ultimate SP1, LM18 MATE, W10IP VM, W10 Home, #All 64 bit
 
 
FreeCommander and MultiCommander

FreeCommander and MultiCommander also have mass renaming tools with "Find and Replace".

FreeCommander's tool
Deleting a Common Element from Multiple Files-mass-rename.png


My System SpecsSystem Spec
03 Oct 2013   #9
MilesAhead

Windows 7 32 bit
 
 

The Linux "find" command is built to do this type of thing. There are ports of it for Windows. Most likely you would need to use a bash shell (command prompt) because too many Linux patterns would not work in an ordinary Windows command prompt.

One of the most powerful features of the 'find' command is the ability to execute a command on the results. So every item that had "youtube" could be the subject of any command invoked by the exec parameter. Meaning you could invoke any program on the system on the resulting item(s), that you have privilege to use. Very, very powerful.

edit: see example
My System SpecsSystem Spec
04 Oct 2013   #10
obsrvr

Windows 7 Professional x64
 
 

Thanks a lot for your responses guys! It looks like I need to dig deeper into the options provided, but all of them are definitely helpful, I just need to learn which one helps best. One thing is clear, playing with the system is not as easy as playing with Excel...
My System SpecsSystem Spec
Reply

 Deleting a Common Element from Multiple Files




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Can't copy files, Require permission from self, Common fix not working
I'm attempting to copy files from one HDD to another. The tens-of-thousands of files in question are in a complex hierarchy system, and windows file copy dialog isn't helping me identify the specific culprits, since many files share names within the hierarchy and the dialog doesn't show the path. ...
System Security
Multiple BSOD no Common Reason
Okay, so here is the thing. I am having multiple BSOD. I have run MemTest and it shows now problems, I have even let it run for over 18 hours. This has been going on for over 6 months now, and while I had the issue solved for a couple months it is back in full effect. I found an article...
BSOD Help and Support
Deleting corrupt files corrupts more files?
Laptop: Acer Aspire 5552 OS: Windows 7 Home Premium AV: Avast! Antivirus Pro I have an 2TB external hard drive (Toshiba) where I keep my music, movies, etc. About two months ago, I had an issue where the drive became inaccessible due to the data cable disconnecting during file transfers. The...
Hardware & Devices
BSOD multiple times a day, most common PAGE_FAULT_IN_NONPAGED_AREA
I have multiple crashes a day, and i'll link my minidumps if that helps. Operating System Windows 7 Home Premium 64-bit SP1 CPU AMD Phenom II X6 1060T 20 C Thuban 45nm Technology RAM 8.00GB Dual-Channel DDR3 @ 669MHz (9-9-9-24)
BSOD Help and Support
Multiple BSODs, no common activity
After months of perfectly stable operation, I've suddenly started getting lots of BSODs, six in one day! I haven't installed any new hardware or software; I've run tests on the RAM and hard drive and found no errors; sfc \scannnow says all the system files are fine. WinDbg lists several different...
BSOD Help and Support
Deleting Files and Multiple Hard Drives
I have discovered an issue with Windows 7 that has become quite annoying. I have tested it with many scenarios and the issue continues to exist. If you try to delete a file off an additional hard drive (meaning not the primary drive) the system will delete it permanently. It will not ask you...
Performance & Maintenance


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:54.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App