rmdir (Windows): The directory is not empty



Share this article :

Symptom

You are deleting a folder in the Windows environment but end up with following message,

E:\itsiti> rmdir daerafolder
The directory is not empty

Solution

Use the option /s to delete the folder together with the sub folders and files inside.

E:\itsiti> rmdir /s daerafolder
daerafolder, Are you sure (Y/N)? Y

Tags:

Related posts

nslookup: Query Internet Name Server
Remove Files Immediately - Bypass the Windows Recycle Bin
"Could not find this item" when Deleting in Windows
How to Map Network Drive in Windows
© 2017 ITsiti. All Rights Reserved
Powered by KEEM