more than 6000 files delete

M

Master of Hell

hi folks,

is it possible to delte more than 6000 files at once?

it seems, my computer freeze, if i try to delete 10,000 files.

many thanks
 
A

Asger-P

Hi Master of Hell

hi folks,

is it possible to delte more than 6000 files at once?

it seems, my computer freeze, if i try to delete 10,000 files.
In my experience windows have always had trouble handling huge
amounts of files in the GUI, especially if they are with long
filenames or deep in folders (long path + filename).

Third party file managing tool usually dont have that kind of problems,
unless they they mimic the explorer, by calling the explorer functions
to do their job.


Best regards
Asger-P
 
S

SC Tom

Master of Hell said:
hi folks,

is it possible to delte more than 6000 files at once?

it seems, my computer freeze, if i try to delete 10,000 files.

many thanks
It may take a while to accomplish, but I see no reason why not. If you're
sure of what you're deleting and that you won't ever need them again, you
might want to do a SHIFT DELETE so that they'll bypass the recycle bin.
 
J

Jesper Kaas

On 02 May 2011 14:37:44 GMT, Master of Hell <Master of
hi folks,

is it possible to delte more than 6000 files at once?

it seems, my computer freeze, if i try to delete 10,000 files.

many thanks
Try from a command prompt (type cmd.exe in the searchbox or hit
Windows-key + r and type cmd). Navigate to the correct folder, and
type del *.*. That'l kill almost anything. Take care.

It was back in the Windows 2000 days I had to do this in a special
case, because Windows Explorer did not handle a big amount of files.
Haven't tried it since.
 
C

Char Jackson

It may take a while to accomplish, but I see no reason why not. If you're
sure of what you're deleting and that you won't ever need them again, you
might want to do a SHIFT DELETE so that they'll bypass the recycle bin.
I recently deleted a folder containing nearly 70,000 jpg images using
Windows Explorer. It seemed like there was no activity for nearly 5
minutes, but looking in Task Manager I could see the Explorer process
gobbling up memory. Finally, it started deleting and continued without
issue.
 
R

R. C. White

Hi, Master.

Should be no problem - except that your computer will be SO BUSY that it
might seem to "freeze" for a long time.

If you are deleting the entire contents of a single folder, it might be
easier - and slightly faster - to remove the folder itself, rather than the
files. Since the OS will still need to mark all the freed-up sectors as
available for re-use, this will take almost as long as deleting the files
and then the folder.

As others suggested, you can do this in the GUI or by opening a Command
Prompt window and using the Del command to delete files or the RD (Remove
Directory - from DOS days before directories became folders) to remove the
entire folder.

As usual in the Command Prompt window, just type the command followed by /?
(such as dir /? ) to see a "mini-Help" file that shows the switches and
parameters available with that command.

RC
--
R. C. White, CPA
San Marcos, TX
(e-mail address removed)
Microsoft Windows MVP (2002-2010)
Windows Live Mail 2011 (Build 15.4.3508.1109) in Win7 Ultimate x64 SP1


"Master of Hell" wrote in message

hi folks,

is it possible to delte more than 6000 files at once?

it seems, my computer freeze, if i try to delete 10,000 files.

many thanks
 
V

VanguardLH

Master said:
is it possible to delte more than 6000 files at once? it seems, my
computer freeze, if i try to delete 10,000 files.
Turn off the Recycle Bin. It works by testing if the space quota will
get exceeded on a delete and, if so, removed ONE file from the Recycle
Bin and continues to remove them one at a time until there is enough
space to make room for the newly deleted file. That's for a delete on
one file to get enough room for it in the Recycle Bin. Then the next
file delete repeats this process. With 6000 deletes, you are repeating
the process 6000 times. It is a slow but safe process that moves a one
file into the Recycle Bin by making just enough space so that one file
will fit.

If you really don't care about what is currently stored in the Recycle
Bin and you really don't care to have an Undo operation after deleting
the 6000 files then disable the Recycle Bin during the massive delete
operation. Then deleted files don't have to get room made for them one
at a time in the Recycle Bin and then moved into there. The file
deletes will be permanent deletes and not involve the Recycle Bin.

http://windows.microsoft.com/en-US/windows7/Change-the-Recycle-Bin-settings
"To permanently delete files instead of moving them to the Recycle Bin"

It is also possible your anti-virus software is causing the long delay.
Many AV programs will scan a file when it gets created, and that
includes files that get created in the Recycle Bin (because the AV would
be deficient if it didn't check for malware there, too). See if the
delay disappears if you temporarily disable the on-access scanner of
your AV program before you do the massive delete job.
 
C

Char Jackson

Turn off the Recycle Bin. It works by testing if the space quota will
get exceeded on a delete and, if so, removed ONE file from the Recycle
Bin and continues to remove them one at a time until there is enough
space to make room for the newly deleted file. That's for a delete on
one file to get enough room for it in the Recycle Bin. Then the next
file delete repeats this process. With 6000 deletes, you are repeating
the process 6000 times. It is a slow but safe process that moves a one
file into the Recycle Bin by making just enough space so that one file
will fit.
<snip>

Agreed, but as someone previously suggested, it's probably easier to
temporarily disable the Recycle Bin by simply doing a Shift-Delete
rather than a plain Delete.
 
F

Flint

hi folks,

is it possible to delte more than 6000 files at once?

it seems, my computer freeze, if i try to delete 10,000 files.

many thanks

Sure. "Format"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top