Delete files but not folders?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello.

We have over 100 folders (one for each customer) that we keep quarterly info
in. Is there a way to delete all the files within multiple folders without
deleting the folders as well (so I don't have to make new folders for each
customer for this quarter)?

I hope this makes sense. I'm using Windows XP Pro.

Thank you!
 
SRS said:
Hello.

We have over 100 folders (one for each customer) that we keep quarterly info
in. Is there a way to delete all the files within multiple folders without
deleting the folders as well (so I don't have to make new folders for each
customer for this quarter)?

I hope this makes sense. I'm using Windows XP Pro.

Thank you!

The command

del * /s

will delete all files in the current directory and its sub-directories.
 
Back
Top