How To Delete Folders/Subfolders With Files Using Batch File

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
Thyagi
Posts: 1
Joined: 13 May 2015 06:37

How To Delete Folders/Subfolders With Files Using Batch File

#1 Post by Thyagi » 13 May 2015 06:52

I have a root folder called "Names"..It has sub-folders ,these sub-folders contains files. I will be giving the names of sub-folders to be deleted in text file Ex..
John
Tom
Rambo.
I will be reading the folder names from text file & delete only those folders with files inside the folder also .
Please provide me the code for it


Post Reply