Hi,
it's much simpler to use a free, plain DOS util for this.
I use T-DEL (http://tutils.cjb.net/tdel.htm), which has tons of options. Just be careful that:
- it doesn't support long file names.
- if it will automatically delete any empty directory it will work on (mkdir it again as the next command, just in case).