Deleting a folder with 1 million files on Windows Server 2008
I am trying to delete a folder that has about 1 million files in it. It is a Windows Server 2008. It is a temporary folder containing small XML files that were I guess downloaded when a SQL Server Job was being executed that imported data from an XML Feed.
The problem is that I try deleting the files via command prompt and it just doesn't work. I think it ends up hanging due to enumerating the files. I am not sure how to delete all of the files without enumerating.