Tip - How can I delete all files/subfolders in a given folder via the command prompt?

Published  | Submitted by Rune Jacobsen
How can I delete all files/subfolders in a given folder via the command prompt?

I would like to delete all files and subfolders in a batch file in Windows 7 and keep the top folder. Basically emptying the folder. What's the command line instruction for that?

About This Tip

Posted: 9 years, 2 month(s) ago

143 Reads
0 Votes