remove folder with content cmd code example
Example 1: delete all files in a directory cmd
del /S C:\Path\to\directory\*
Example 2: remove folder with content cmd
rmdir folder/path /S /Q
Example 3: how to delete dir in windows cmd
to remove an unempty file from cmd directory
$ rmdir /S nonemptyfile