Posted By

hoffstein on 10/31/08


Tagged


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

hoffstein
Tyster
riacharda


Recursively delete files in a directory


 / Published in: DOS Batch
 

  1. del /s *.ext

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: Scooter on October 31, 2008

If you want to suppress confirmations: del /s /q .

If you want to remove sub-directories too: rmdir /s /q .

Posted By: Scooter on October 31, 2008

Hmm... something stripped out my asterisks.

You need to login to post a comment.