rmdir (Windows): The directory is not empty

Share this article :


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

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


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


Related posts

Copy File using PowerShell Command
Change the Location of Windows Memory Dump
Get the Windows System Information using Command Line systeminfo
Allow & Disallow Windows Remote Assistance
© 2017 ITsiti. All Rights Reserved
Powered by KEEM