Question:
XP won't delete 8,000 files?
Quality
2009-05-15 10:19:25 UTC
I'm trying to delete 8,000 files from a folder I created after running a duplicate files application by selecting all but they won't delete. After clicking on files in the toolbar it take time to load, I then press delete and the hour glass timer comes up but I could leave it for 10 minutes and nothing happens.

It only lets me delete smaller numbers at a time like 40 files but that way will take ages to get rid of all unwanted files.

Can you help? Thanks :)
Seven answers:
HaSiCiT Bust A Tie A1 TieBusters
2009-05-15 11:19:03 UTC
if you are deleting them from the folder and there are none you want to keep~drag and drop the folder directly to the recycle bin

hope this helps
bilou5404
2009-05-15 11:55:09 UTC
Edit - 4 am 16th (Can't sleep) Just seen your note on My Documents being empty.

If that is where the folder is then you have a corrupted hard disc. Try a right-click on the drive in My Computer, select Properties\tools\error checking\ check now\fix automatically. Reboot if it says you need to. Let it fix the disc. Sometimes you will find all the files have gone afterwards. Sometimes there will be a bunch of unknown files. Just delete them using one of the ways I said if that is the case.

------------------------------------------------------------------------------



The fault is with explorer.exe. It has always had problems with large numbers of files. The problem has become worse rather than better over the years, and it isn't just deleting files, copy paste also has problems.



There are few things you can try that should help or work around the problem. Solutions 3 and 4 are the most likely ones to make you a happy person.



1. Avoid the step where Explorer enumerates (lists internally) the files one by one prior to delete (it also checks the sizes one by one to see what it can leave in the trash can as recoverable!) by doing a shift-delete. Select the files with ctrl-a (for select all), then press AND HOLD shift then hit the delete button on the keyboard.



2. Combine solution 1 with not listing the files so exhaustively. Delete the folder containing the files with shift-delete. Clsoe any Explorer windows except the one for the problem folder.



3. Try mini explorer 2 by L. Madhavan



http://www.geocities.com/casablanca2000in/msp/?200528#me2



Unfortunately this site (run by Yahoo, though it may not be Yahoo's problem), seems to be down. So I have uploaded the utility (which is on my standard list of programs) to:



http://sharebee.com/815e81b6 pick any link 6you like and download the zip.



You do not need ti install me2. Just unzip and run the exe with a double-click. As a precaution (though it is clean) you should scan the zip for viruses prior to use as I am not the original program source. Or upload the .exe to virustotal.com for a quick check with all the major anti-virus engines.



http://www.virustotal.com/



4. (we'll solve this one way or another) Delete from the command line.



In XP go "start"/run/', type 'cmd' into the run box (without the ' '), then hit . The (black command window will come up. If you have not done command line before then it can look real weird, but don't worry. Then do a 'cd c:\' to get to the root of drive c:, then 'g: to get to the root of the target drive (replace g: with the drive your files to be deleted are on).



Now to back to explorer and select ONE file in the target folder. Right-click and select Properties. In the properties dialogue for that file. select ALL the path (eg 'G:\new folder\copy of new folder\target folder name'. Do a Ctrl-C to copy that path, then back to the cmd window. Type'cd', then a SPACE, then right-click anywhere on the black window and select Paste. The full path into the target folder will appear after cd and space. Hit . You should now be in the correct folder. Do a quick 'dir /w' to list the files and folders there. It is a lot quicker to list than in Explorer So far so good. No danger as nothing has been deleted. Now you are about to delete the entire list of files you saw. Type 'del *.*' there will be a quck confirmation "Are you sure Y/N". Type 'Y(es)" or N(o) Should take less than 10 seconds. Yes command line is a pain, but boy is it quick.



One of those will make you happy. let me know how it goes.
2009-05-15 10:33:01 UTC
Open a command prompt

Go to the folder the files are in

Type:

del *.*

Hit Enter

Wait for it to finish (figure no more than 2 or 3 files/second, so at least 45 minutes or so. Best to do it at night, just before you go to sleep.)
Crabby Hermit
2009-05-15 10:24:10 UTC
Well, when you're deleting 8,000 files all at once, it'll take time. It sure as hell won't happen instantly. It can take up to 15, 20 minutes - if you're lucky.



Best bet is to either wait or just delete them in smaller increments. Patience.
The Wizard
2009-05-15 10:24:28 UTC
Make sure all the files are visible.



Hit 'Select All' under edit (Explore).



Hit Delete.



Hey, this is going to take awhile. Maybe 20 minutes. Be patient.
2009-05-15 10:22:48 UTC
try to delete them in safe mode

Tap f8 on boot-up and choose safe mode. Then you won't have anything running in the background when you are deleting the files



Reformatting is always a LAST resort....people really don't understand how many programs, files etc, that are on a PC.
2009-05-15 10:23:23 UTC
Format your hard drive?

Saving your important/needed files on a backing storage device.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...