Reputation: 3265
I am deleting a folder that contains large amount of files (Milions of files) under Windows Server 2012 and i am using this command for this purpose :
rmdir /s/q foldername
Is there a way i can see the files that are being deleted in the cmd window?
Upvotes: 1
Views: 184
Reputation: 10500
If you use DEL
to delete the files and RMDIR
to delete the directories afterwards, you get your desired behaviour:
DEL /Q /S foldername\* && RMDIR /Q /S foldername
Upvotes: 1