you want to delete the folders as well as files in it?

Check this if it helps you.

http://www.jonasjohn.de/lab/red.htm