Tag Archive | "delete"

Recursively Delete Files and Retain Folders in Windows

Thursday, January 3, 2008

View Comments

I was trying to delete all files in the current directory and all subdirectories, while keeping the directory structure intact. I found that I could use the following DOS command to recursively delete files, and NOT touch the directories: ending in .doc del /s *.doc Do note though, that ALL files with the extension doc will be [...]

Continue reading...