windows remove a directory that is not empty code example
Example 1: directory is not empty windows
// On windows
C:>rmdir /S nonemptydir
Example 2: cmd remove directory not empty windows
rmdir /S directory_to_be_deleted
// On windows
C:>rmdir /S nonemptydir
rmdir /S directory_to_be_deleted