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