Delete folders and files in bulk in a few steps

Share on facebook
Share on twitter
Share on linkedin
Share on reddit
Share on email
Share on whatsapp

delete files and folders in bulk in windows

The hard disk of our computer accumulates hundreds of files and folders that we do not need, that occupy a very precious space in our storage and that we would like to eliminate quickly. For this, Windows offers different possibilities, although we can also use external applications.

As in real life, on our computer we can also develop a kind of Diogenes digital syndrome and accumulate garbage in an uncontrolled way. Even if we are not one of those who like to accumulate files and folders and not delete anything at all, it is easy that we are forced to do some cleaning.

Good for have everything organized and that we can find the document we are looking for more quickly, or because we need more space storage available on our hard drive, it is interesting to know how to do a massive cleaning of elements in Windows.

Although we usually resort to third-party applications to perform many tasks in Windows because it does not allow them to be done efficiently, in this case, for the massive deletion of documents, they are worth the trouble. tools that Microsoft put at our fingertips.

From File Explorer

Windows File Explorer allows us to do many basic tasks in the management of the elements of our internal hard drive or external storage drives such as USB pen drives, external SSD drives or external hard drives.

When we have the folders or documents we want on the screen mass delete We have several tools that will allow us to do this quickly and in a few steps.

  • When we want to delete all folders or files:

What we have to do, first, is select all items. We can do this in three different ways: by clicking on the button Select all from the ribbon at the top of the window; press on the keyboard CTRL. + A at once; or select the first item, press the SHIFT key. + click in the last element.

Once we have all the elements selected, to delete them we have three other options, almost equivalent to the selection ones: we can press the button Remove of the ribbon at the top; press the key DELETE On the keyboard; or open the secondary menu with the right mouse button and click on Remove.

Remember that all these documents will go directly to the Recycle Bin, so we have to empty it if we want to definitively get rid of everything deleted.

  • When we want to massively delete, but selecting the content:

You may want to delete many documents, but not all. That is, when making a selection of all the elements of a unit or directory is not the viable option we have to select manually everything we want to erase. For this it is not necessary to go folder by folder or file by file.

Windows allows you to pick and select items with just a few mouse clicks. To activate manual selection we just have to hold down the key CTRL. keyboard. From here we can select elements by clicking on them. If they are contiguous elements, we can click with the mouse on an empty space and select, by dragging, all the elements in that area. You can make multiple selections, but always without releasing the CTRL key.

Once the selection is made, press the button Remove on the ribbon, the key DELETE or we will use the command Remove right button.

ribbon in windows file explorer

Commands in the Command Prompt

It is not that it is too complicated to use the Command Prompt systems, which reminds us of the old MS-DOS to the most veteran, but it is an interface that we may not be used to. To access the Command Prompt we will look for it in the search box from the taskbar or press Win. + R and we will write CMD, then we press Enter and we are inside.

We will use the command OF THE to delete files or directories in one go. We will use these commands:

  • from C: XXXX

Where XXXX is the route where all the documents you want to delete are housed.

  • del C: XXXX / +. gif

In this case we will delete all the elements with the indicated extension (GIF or any other) within the indicated path.

  • del / f C: XXXX

This will force the deletion of files from read only.

  • del / s C: XXXX

The / s command also deletes all subdirectories.

  • RD / s XXXX

We will use the RD (remove directory) command to delete folder in which we find ourselves. To do this we must first enter by executing the command cd XXXX (where XXXX is the name of the folder), once in the path we write the command to delete the directory and all its subfolders (with the / s parameter).

system symbol command

Bat file

Creating a bat (or batch) file is a simple text document that includes several commands to be executed directly. We may relate it to programming or creating code but it is actually very simple. We just have to open WordPad, Windows’ simple text editor. We write the commands that we want to execute automatically, for example:

cd C: Invoices
rd / s C: Invoices

This way we would be entering the folder Hard drive bills for later remove it along with all subdirectories. Once the commands have been written, click on Save as … and give it a descriptive name that ends in .bat (the extension to make it an executable document). In this way, every time we double-click on it, those commands will be executed.

With Byenow

This application runs in the Command Prompt, but it allows us to do a mass deletion of files or folders more simply. We download the application and save it in the root directory so that we only have to execute the command byenow when opening Command Prompt.

We will write byenow XXXX -p -s -l -e -y. The command byenow XXXX (where XXXX is the folder we want to delete) is enough to delete the directory we want with all its content.

However, we can add other parameters as indicated: -p generates a preview of what we are going to delete, -s shows us the content and then deletes it, -l allows us to see the progress of the deletion, -e is the error log, -y does not ask for confirmation for mass erasure.

byenow windows system symbol

With external applications

Although Windows allows you to delete files and folders in bulk easily, there are also other applications that add new functionalities to this process that may be of interest to us.

WipeFile

As its name indicates (Wipe File is file cleaning in English) this application allows us to delete the documents we choose, as Windows does, but with the addition that Wipe File clean the trail completely information securely.

Once the selected folders and files are deleted, it overwrites the information in different ways (there are 14 different methods available) so that no one can retrieve those documents. It is available for Windows and is free.

wipefile windows

Activate KillDisk

This tool is similar to the previous one. Activate KillDisk is designed for delete all information permanently without the possibility of recovering it with specific programs. You can do it on entire drives like internal hard drives or external storage drives like USB drives, memory cards or external SSD drives.

You can discard the application in a way free (as long as it is for personal, non-professional use) directly from the web and is available only for Windows. In addition, to guarantee that the information has been permanently erased, it issues various types of digital security certificates.

activate killdisk for windows

TeraCopy

TeraCopy is a tool that is characterized by copying and moving large amounts of information very quickly. Besides this, the mass erase tool is very usefulas it takes advantage of the same technology and causes the information to be deleted quickly.

This program is capable of harnessing the full potential of your computer to concentrate it and achieve a massive deletion in much less time than any of the native options of the Microsoft operating system can do. Is an application free, only available for Windows and that it also offers these functionalities for external drives such as USB sticks or memory cards.

teracopy windows

The post Delete folders and files in bulk in few steps appeared first on ADSLZone.