cannot delete folder windows 10 directory is not empty code example
Example 1: cannot delete empty folder windows 10
1. Setup Winrar / Winzip
2. Right click folder cannot delete -> choose"add to archive"
3. At General tab -> choose Archiving options -> Choose Delete files after archiving.
4. after that the folder will CHANGE TO zip file and delete the empty folder, IS IT GOOD? :D
Example 2: remove directory not empty windows
rd /s /q "path"