Solved

Remove very large folder on Windows

Posted on 2011-02-21
6
705 Views
Last Modified: 2012-05-11
I have a very large folder containing 600000 files. I want to remove it as fast as possible. How do I do that?
0
Comment
Question by:Frans_Truyens
6 Comments
 
LVL 3

Accepted Solution

by:
Patricck earned 200 total points
ID: 34941115
0
 
LVL 20

Expert Comment

by:woolnoir
ID: 34941133
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
 
LVL 9

Assisted Solution

by:Tomas Valenta
Tomas Valenta earned 100 total points
ID: 34941135
in command prompt type: del /s /q FolderToDelete
0
Do email signature updates give you a headache?

Constantly trying to correctly format email signatures? Spending all of your time at every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

 
LVL 20

Assisted Solution

by:woolnoir
woolnoir earned 100 total points
ID: 34941150
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
 
LVL 6

Assisted Solution

by:Kris Montgomery
Kris Montgomery earned 100 total points
ID: 34941263
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
 

Author Closing Comment

by:Frans_Truyens
ID: 34941640
Thanks a llot. This solved my problem.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VPN running on Windows 2008 Server 11 81
Microsoft Audit question 13 57
Remote access server vs NAP 4 74
deploying a service to production environment 13 92
Every system administrator encounters once in while in a problem where the solution seems to be a needle in haystack.  My needle was an anti-virus version causing problems with my Exchange server. I have an HP DL350 with Windows Server 2008 Stand…
Know what services you can and cannot, should and should not combine on your server.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now