How to delete all folders/files with a certain name


  1. Posts : 19
    Windows 7
       #1

    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 Computer


  2. Posts : 1,035
    Vista 64 Ultimate, Windows 7 64 Ultimate, Ubuntu 9.10
       #2

    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 Computer


  3. Posts : 208
    Windows 7
       #3

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

    ~Joshua~
      My Computer


  4. Posts : 19
    Windows 7
    Thread Starter
       #4

    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 Computer


 

  Related Discussions
Our Sites
Site Links
About 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 09:34.
Find Us