Here are two quick ways to do so:  Right-click the Start menu and select Command Prompt. Press ⊞ Win+S to open the search bar, type cmd, and then click Command Prompt in the search results. Replace FolderName with the name of the folder you want to delete.  For example, if you're trying to delete your "Homework" folder, you'd type in rmdir /s Homework here. If the folder's name has a space in it (e.g., "Homework assignments"), place the name in quotations (e.g., rmdir /s "Homework assignments"). If you try to delete a directory that contains hidden files or folders, you'll see an error that says "The directory is not empty." In this case, you'll have to remove the "hidden" and "system" attributes from the files inside the folder. To do this: Use cd to change into the directory you want to delete. Run dir /a to view a list of all files in the directory and their attributes. If you're still okay with deleting all of the files in the folder, run attrib -hs *. This removes special permissions from the undeletable files. Type cd .. and press ↵ Enter to go back one directory. Run the rmdir /s command again to delete the folder. This will permanently remove the directory.
सबसे पहले कमांड प्रॉम्प्ट खोलें: अब rmdir /s FolderName टाइप करें: अब कंप्यूटर को कमांड देने के लिए ↵ Enter दबाएं।  अब पुष्टि करने के लिए y दबाएं: