how to delete directory windows cmd code example
Example 1: delete non empty directory cmd
rm -rf directoryname
Example 2: how to delete dir in windows cmd
to remove an unempty file from cmd directory
$ rmdir /S nonemptyfile
rm -rf directoryname
to remove an unempty file from cmd directory
$ rmdir /S nonemptyfile