windows command prompt delete a directory recursive code example
Example 1: delete all files in a directory cmd
del /S C:\Path\to\directory\*
Example 2: how to delete dir in windows cmd
to remove an unempty file from cmd directory
$ rmdir /S nonemptyfile