batch file that can delete files and folders

November 1, 2010 at 18:49:16
Specs: Windows Vista
Hi Everyone,

Please help me create a batch file that can delete files/folders in specific directory.
Your immediate response will be highly appreciated.

Thank you very much.


See More: batch file that can delete files and folders

Report •


#1
November 2, 2010 at 00:17:12
Use RD or DEL. Or a little of each.


=====================================
Life is too important to be taken seriously.

M2


Report •

#2
November 2, 2010 at 00:27:45
Thank you for your reply. But can you please help me again how could I delete also the folder? Only files are deleted using del command. I tried to use deltree but it's not working.

Thank you.


Report •

#3
November 2, 2010 at 00:29:30
I want to automatically delete all the folders and files in desktop.

Report •

Related Solutions

#4
November 2, 2010 at 00:48:08
do this and read the directions

rd /?


=====================================
Life is too important to be taken seriously.

M2


Report •

#5
November 2, 2010 at 00:53:06
Hello Mechanix2Go,

Thanks for your help.

I already found the solution.

Thank you so much.


Report •


Ask Question