delete directory cmd dos code example Example: cmd remove directory not empty windows rmdir /S directory_to_be_deleted