Delete all files within a folder (incl subfolders)

  • Thread starter Thread starter Steph
  • Start date Start date
S

Steph

Hi, I found the following code to delete files from a fodler:

Kill "C:\Delete\*.*"

Is there a way to also delete all files from all subfolders contained within
the Delete folder?
 
Never mind. Used the same logic that was provided to me by kkknie in an
earlier post "Copy a file into multiple sub-folders". Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top