How To Delete Mac Hidden Files From Windows

Updated about 3 yrs, 11 mths ago (July 16, 2013). Know a better answer? Let me know!

How to delete Mac hidden files from Windows

You are running Windows and you want to delete the annoying hidden files Macs make, like “.DS_Store”.

If you use Windows, and go anywhere near a Mac running OSX, you will likely find your hard drive full of annoying hidden files with names like “.DS_Store”, “._Annoying Hidden File”, “._.DS_Store” and so forth.

Warning: The following will delete files. This may have unexpected results. Only use this if you know what you are doing.

Warning: Some other programs may create files with the same names as ones this will delete. For example, it has been reported that Chrome makes files matching “._*” which will be deleted by this command

To remove these all at once, run the following commands (but be warned, do not run these unless you know what you are doing, or you may delete important files):

del /s /q /f /a:h .DS_Store
del /s /q /f /a:h ._*

The first command recursively deletes hidden files called “.DS_Store. The second command recursively deletes any hidden file matching the wildcard “._*”.

Of course, as with anything that deletes files, be very, very sure that you are only deleting what you think you’re deleting. If you are at all unsure—then stop and do not do this. You may delete everything.

More Information

For more information:

 

Updated about 3 yrs, 11 mths ago (July 16, 2013). Know a better answer? Let me know!

Related categories [coloured].

Comment on this article (no HTML, max 1200 characters):