Recursively Delete files within all sub directories in DOS
Ever wondered how to delete files matching a certain patten from within all sub-directories in DOS (aka Windows).
Simple
At your command prompt type simply DEL /S *.ext
eg:
To delete all .bak files within D:Workspace
D:workspace>dels *.bak
But be careful.. there is no confirmation dialog.
1 Comment »
RSS feed for comments on this post. TrackBack URL
Thanks so much for the help!