G
G
Gigabait2016-10-18 13:59:08
cmd/bat
Gigabait, 2016-10-18 13:59:08

How to delete folders in a folder (.bat)?

Need code to delete specific folders
Example:
Folder1
{
Folder1*<<Folder1,Folder2,Folder3
Folder2*<<Folder1,Folder2,Folder3
Folder3*<<Folder1,Folder2,Folder3
Folder4*<<Folder1,Folder2,Folder3
Folder5*<< Folder1, Folder2, Folder3
}
"<<" means that these folders are inside the folder Oo
You need to delete Folder1 and Folder3 from each folder with an asterisk

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Max, 2016-10-18
@MaxDukov

forfiles,
despite its name, also works with directories

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question