Sometime you may need to delete a folder containing millions of files from your Windows system. Deleting them from Windows explore may consuming large amount of memory. In such event, it is better to delete such folder via Windows command prompt.
To delete a folder containing large number of files via command problem, you can use the following command:
rmdir /s /q FOLDER_NAME
Make sure you double check the folder name before deleting the contents. This operation is not reversible and you may lose your contents if you specify incorrect folder name.