Search found 1 match

by caiopacheco02
28 Mar 2020 20:47
Forum: DOS Batch Forum
Topic: How to delete subfolders and files from parent folders found in the variable of a bat script?
Replies: 1
Views: 2597

How to delete subfolders and files from parent folders found in the variable of a bat script?

What I'm trying to do is find all the folders named "temp" on local disk C and then delete all files and subfolders that are inside it, but I don't know how to delete it, I only managed to get to the part of finding all folders and put them in the variable, but I don't know the correct code to delet...