How To Delete Folders/Subfolders With Files Using Batch File

Advertisement

Thyagi
Guest

How To Delete Folders/Subfolders With Files Using Batch File

Hi

I am newbie to Batch scripting.
I have a root folder called "Names"..It has subfolders ,these subfolders contains files. I will be giving the names of subfolders 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.

Reply with quote

Advertisement

You can post new topics in this forum