Posted By

Vordreller on 03/26/09


Tagged

files dos deleting


Versions (?)

Who likes this?

7 people have marked this snippet as a favorite

indamix
ddevening
jasonseney
ptiswitz
Tyster
bug5
riacharda


Remove all Thumbs.db files


 / Published in: DOS Batch
 

There is a similar snippet on the site, yet it is listed for Windows Powershell, while the syntax is clearly Batch, and secondly, it is very incomplete and no response is coming from the author, so I'm posting my completer version here.

Beware, this will delete all Thumbs.db files that are hidden. If you want to delete the ones that aren't hidden too, you'll have to do it agin without the /a:h in there.

  1. del /s /q /f /a:h Thumbs.db

Report this snippet  

You need to login to post a comment.