Solved

Remove very large folder on Windows

Posted on 2011-02-21
6
709 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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
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

Free Webinar: AWS Backup & DR

Join our upcoming webinar with experts from AWS, CloudBerry Lab, and the Town of Edgartown IT to discuss best practices for simplifying online backup management and cutting costs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows 2012 R2 Server -- Domain Naming ? 2 102
Bios changes 5 86
Windows Server 2008 R2 -Terminal Server -  notifications of resource usage 6 47
Server HP DL380 G7 13 48
Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found listed in my profile here: http:…
Have you considered what group policies are backwards and forwards compatible? Windows Active Directory servers and clients use group policy templates to deploy sets of policies within your domain. But, there is a catch to deploying policies. The…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

726 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