Recently during a hard drive upgrade I ran across some IE temp files that got corrupted and just would not delete. I needed them gone because IMAGEX (an article for a later post) would not work as it couldn’t see these files for the image.
Of course you can’t delete the directory they are left in as well “directory not empty” error (or so I thought). After a little searching and some frustration, I found the following command, living just under my nose!
C:> RMDIR <C:\ “Directory to delete and contents”> /S /Q
/S – get the directory and all files
/Q – does it without approval
Yup, “bye bye” directory and “bye bye” file that won’t go away. Just too simple.