Question: directory is not empty rmdir windows?
Answer: If a directory contains files or folders, you will receive "The directory is not empty." error message if you try to use rd or rmdir. If you want to delete directories that are full, use the deltree command or if you're using Windows 2000 or later, use the example code below with the /s switch.