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: How to delete all folders/files with a certain name

03 Jul 2010   #1
SevenDragon

Windows 7
 
 
How to delete all folders/files with a certain name

I want to delete all the files/folders with a certain name like the __MACOSX folders that comes with many icon packs.

Is there a tool or script that can do that?
I think there should a command-line instruction to do this but i couldn´t find it.


My System SpecsSystem Spec
03 Jul 2010   #2
fishnbanjo

Vista 64 Ultimate, Windows 7 64 Ultimate, Ubuntu 9.10
 
 

Pretty sure this will do what you want. Start>type cmd in the lower window, when it comes up right mouse click and run as administrator and it will launch a terminal OS window. Type cd .. until you get back to a C:/ showing (if your on D: or E: same thing) then type del /s __MACOSX\*
My System SpecsSystem Spec
03 Jul 2010   #3
Torongo

Windows 7
 
 

I would just search __MACOSX from Computer, and delete all the folders with that name that come up.

~Joshua~
My System SpecsSystem Spec
04 Jul 2010   #4
SevenDragon

Windows 7
 
 

Quote:
I would just search __MACOSX from Computer, and delete all the folders with that name that come up.
LOL, how i havent thought in that?

Thanks
My System SpecsSystem Spec
Reply

 How to delete all folders/files with a certain name




Thread Tools





Similar help and support threads
Thread Forum
Can I delete folders from Program Files(x86) ?
I have Windows 7 Home basic 64 Bit OS. I have lots of applications installed, out of which every applications folders are stored on both Program files and Program files (X86) Folder. I am not going to use 32 bit OS in future. So can I delete folders from Program files (x86) Folder directly ? ...
General Discussion
How to delete program files and system folders?
Before I go on, I would like to note that: - I'm currently using Windows 7 Ultimate 64 bit - I have 2 HDD (D and E drive) and 1 SSD (C drive) - I have posted screenshots as it might clarify what I'm trying to say Anyway, I'm having trouble with deleting program files (both 86 and 64) and...
General Discussion
How to delete Undeletable folders or files from any Drive
Help me. I have three partitions/drives i.e drive C, drive D and drive E. I have installed windows7 Ultimate x86 on drive C. But i have a problem in drive E. There is a folder on drive E which I want to delete. I tried many times to delete that folder but failed every time. If someone know than...
General Discussion
Will it be safe to delete this files/folders?
Sorry for being a dummy, after using TreeSize Free, I saw the files/folders that are consuming so much space in C: the question is, will it be safe to delete them? Here they are: I specified them to not confuse them with others I'm losing space(maybe 1gig above) without downloading something...
General Discussion
Can not delete Windows folders/files from My Documents
Trying to delete an outdated folder and containing files...but when I choose 'delete"' I get a message saying the file/folder is no longer there ? Have refreshed/re-started/renamed the files folders but still get the error message in jpg attached ? How do I get rid of this folder ? ...
Performance & Maintenance
How to delete files and folders not found?
I keep getting these, try to delete them, says cannot find file, but yet, there it is, in the folder. I have two folders that have similar files in them, win7 refuses to delete them, even in safe mode. I end up hiding the folders so I dont have to look at them all the time. How do I fix this crap?
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 13:49.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App