Copying or deleting a large number of files

J

Jeroen

Hello,

When I copy or delete a large number of files (>1000) in Vista32, the
explorer.exe process grows to more than 1.5GB in size, and then my computer
stops responding.

I think there is a memory leak in Windows Explorer?

And how can I copy, move or delete large numbers of files?

Thank you very much for your answers in advance!

Kind regards,
Jeroen
 
J

Jeroen de Wolf

When I have a folder with, say, 5.000 files, it's not a nice task to copy 50
times one hundred files!

I've noticed that copying 10 times 100 files a time causes much less growth
of explorer than copying 1 time 1000 files; that's why my conclusion is that
something in explorer is not coded right. The same goes for just SELECTING
those files; I think the properties of ALL selected or copied files are
loaded into memory, regardless of how many files are selected, and that those
properties are not cleaned from memory very well. Maybe some inside MS
developer can confirm this?
 
R

R. C. White

Hi, Jeroen.

Which version of Vista? Is it x64 or x86?

I don't know your specific needs, but if you want to delete ALL the files in
a folder, you could use the "rd /s" command to Remove Directory, including
all the files and subfolders in that directory tree. For details, open a
Command Prompt window and type "rd /?" for a mini-Help file showing all the
switches and parameters available for the rd command. Depending on the type
of files, you might need to right-click Command Prompt and chose to Run as
Administrator.

(If you need to delete 4,999 of the 5,000 files in a folder, first Move the
one good file elsewhere, then use rd /s to delete the folder with all the
remaining files - then recreate the folder with md and Move the good file
back into it.)

RC
--
R. C. White, CPA
San Marcos, TX
(e-mail address removed)
Microsoft Windows MVP
(Running Windows Live Mail 2009 in Win7 Ultimate x64 7000)
 
R

Richard Urban

NOTE: If you read, he is NOT have the problem on his Vista box.

The question should be asked in a server news group.
 

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