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

Difference: Windows Size & Size On Disk
Robocopy: Robust File Copy
Allow & Disallow Windows Remote Assistance
How to Disable CAPS LOCK in Windows
© 2018 ITsiti. All Rights Reserved
Powered by KEEM