on windows, there is no rm -rf *, what you have to do is
- remove all the files
- remove the directory that contains the fiels (empty files)
Here is the steps that you will exist, suppose that folder is the directoty that you want to remove.
del /F /S /Q folder rd /S /Q folder
Hope this can help.