Deleting Mac OSX hidden .files from Windows Command Prompt

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.

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

cd <root directory you want to recursively start deleting .files from>, i.e: cd e:\
del /s /q /f /a:h .*.*

Source: Hard Answers


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s