Delete All Files and Folders Inside a Directory?
The school has a Functional Skills exam coming up and I need to delete the contents of the exam users folders. I have tried the following command but it only deletes files and not folders. Is there anyway I can force it to delete everything?
I don't want to delete the top level folder (i.e. Exam51, 52 etc) just empty out the contents.
DEL /Q /S "E:\Users\ExamUsers\Exam51\*.*"
DEL /Q /S "E:\Users\ExamUsers\Exam52\*.*"
DEL /Q /S "E:\Users\ExamUsers\Exam53\*.*"