Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 718
  • Last Modified:

Remove very large folder on Windows

I have a very large folder containing 600000 files. I want to remove it as fast as possible. How do I do that?
0
Frans_Truyens
Asked:
Frans_Truyens
4 Solutions
 
PatricckCommented:
0
 
woolnoirCommented:
rmdir /s /q folder

doing it through windows explorer will take an age due to the estimation calculations it uses, the command prompt will be 'almost' instant in theory.
0
 
Tomas ValentaIT ManagerCommented:
in command prompt type: del /s /q FolderToDelete
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
woolnoirCommented:
There is also a difference between deleting and 'shift deleting' in windows as the latter avoids the copy to the recycle bin. Fast copy as suggested above is a good option, but often not much faster than windows explorer.

Id try the 'rmdir' approach i stated above, or the del as Tominov suggests, see which works best for you.
0
 
Kris MontgomeryCommented:
I have found that FastCopy is the very fastest method to delete many files:
http://ipmsg.org/tools/fastcopy.html.en

Can also be used for copying, but I have primarily used it for deleting.

Lastly, it has a GUI, but you can also use it in command line.  If you are regularly deleting that many files, you may want to write a quick batch file for deleting specific folder files.

Thanks.
mug
0
 
Frans_TruyensAuthor Commented:
Thanks a llot. This solved my problem.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now