8

Similar to this question, I want to get rid of all hidden Mac .DS_Store files on a windows machine. Browsing to the folder and manually deleting them one by one is cumbersome and very time consuming. The following command does delete a .DS_Store file, but not recursively:

del .DS_Store
Community
  • 1
  • 1
Kurt Van den Branden
  • 10,575
  • 9
  • 71
  • 81

1 Answers1

19

Run the following command in the folder where you want to remove the .DS_Store files. It will delete them recursively.

del /s /q /f /a .DS_STORE
Kurt Van den Branden
  • 10,575
  • 9
  • 71
  • 81