cmd clear folder code example
Example 1: remove folder with content cmd
rmdir folder/path /S /Q
Example 2: how to delete dir in windows cmd
to remove an unempty file from cmd directory
$ rmdir /S nonemptyfile
rmdir folder/path /S /Q
to remove an unempty file from cmd directory
$ rmdir /S nonemptyfile