directory is not empty windows code example Example: directory is not empty windows // On windows C:>rmdir /S nonemptydir