I was trying to delete a folder and all of its sub-folders and all their contents using Windows 7 64bit on a quad-core machine with 16GB RAM and an SSD, and it was taking FOREVER through the GUI.
Luckily I’m a geek, as such I’m very familiar with the command prompt — or I thought I was.
I opened up a command prompt (with administrative privileges), navigated to the parent folder of the folder I wanted to remove and typed deltree foldername (enter). What?! deltree isn’t a recognized command? When did that happen?! Stupid reliance on GUIs…
After a little research I came up with this:
RMDIR [/S] [/Q] [drive:]path RD [/S] [/Q] [drive:]path /S Removes all directories and files in the specified directory in addition to the directory itself. Used to remove a directory tree. /Q Quiet mode, do not ask if ok to remove a directory tree with /S
So, RD /S /Q foldername (enter) and viola, I was done.