Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Remove very large folder on Windows

Posted on 2011-02-21
6
708 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
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

1. Boot PC and press F10, select storage options and change the compatibility from “AHCI” to “IDE”, save and exit 2. Boot PC and press F12 3. Upon PXE display of searching for DHCP server, press Pause break to obtain MAC address 3. Open Configu…
Remote Desktop Protocol or RDP has become an essential tool in many offices. This article will show you how to set up an external IP to point directly to an RDP session. There are many reasons why this is beneficial but perhaps the top reason is con…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

860 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