cmd remove directory with content code example
Example 1: remove folder with content cmd
rmdir folder/path /S /Q
Example 2: how to remove directory with contents in w10 cmd
rmdir /S "MyDirectory"
rmdir folder/path /S /Q
rmdir /S "MyDirectory"