How to delete all particular files inside a folder in Windows 10
We all have computers these days, and they are quite useful in our daily life. However, not everyone is a computer expert. Most of the people out there know to operate computers according to their needs. But sometimes there are some faulty things that happen with computers. And, we can’t figure out how to handle…

How to delete all particular files inside a folder in Windows 10
We all have computers these days, and they are quite useful in our daily life. However, not everyone is a computer expert. Most of the people out there know to operate computers according to their needs. But sometimes there are some faulty things that happen with computers. And, we can’t figure out how to handle and solve that particular problem.
For instance, if you are using a computer and you have various files on a specific folder. Let us suppose there are many text documents on a folder and you want to delete all the text documents from that folder at once. That might sometimes feel annoying to the users to select each and every file one by one and delete them. You will learn an easy way to do that.
So, if you are someone who has a lot of files on some folder and want to delete a particular type of files, this Article will help you.
How to Delete all particular files inside a folder in Windows 10
Instead of selecting the files one by one and then deleting them, there is an easy way as well. You can delete the same type of files in a few steps using the command prompt.
How to Delete files with the same extension:
Let’s say we want to delete all the text documents ‘.txt’ from a specific folder. To do so, follow all the steps given below properly:
- For the following steps, we will need command prompt to proceed.
- Firstly, navigate to the specific folder, where the files are stored.
- Once you open the specific folder, you will need to open the command prompt in that folder.
- To open the command prompt, Click on the address bar, and at the place of the path, type “cmd”. Then, hit Enter.
- This will open a command prompt in the specific folder.
- Another way to open the command prompt is that, go to the specific folder. Now, Hold down the ‘Shift’ key, and press the right mouse button. Now, a menu will open, select “Open Command Prompt here”.
- As you are in the command prompt now, write the command “DEL *.txt”. And this will delete all the text documents from that folder.
DEL *.txt
How to Delete files with same string names:
If you want to delete all the files having the same names but different extensions, follow the steps properly:
- Navigate to the specific folder and copy the path.

- Now open a command prompt and paste the copied location.
- If you want to delete all files with name, let us suppose, “file_name”.
- In the command prompt, type “DEL file_name*”.
This will delete all the files which have “file_name” in the string.
How to Delete files having same string name and particular extension:
Lets us suppose, we need to delete all file which has “file_name” in the string and have the extension ‘.txt’.
- Open the specific folder in which the files are stored.
- Now, open the command prompt in that folder.
- Type the following command, “DEL file_name*.txt”.
DEL *.txt
This will delete all the files which have “file_name” in the string and has the extension ‘.txt’.
We hope that you have found this Article helpful. If so, please share this Article with your friends and family, and on social media as well. In case you have any queries, feel free to ask us in the comment section below.
More in How-to

How to auto delete files in Downloads folder in Windows 10
As we all use computers in today’s life. It is obvious that we download lots of files on our systems. Since all the downloads are stored in the same folder, it can fill up a lot of space and make your computer slower. With time, the downloads number increases and all the files pile up…

How to permanently delete already deleted files in Windows
In this article, you will learn how to permanently delete already deleted files in Windows. Sometimes we delete files from our PCs, but who will ensure that the files are permanently deleted from your PC. Is it confusing? Maybe yes, but it is a fact that files that we delete don’t actually go away permanently.…

Locate iTunes Library File, Change Backup Location & Delete iTunes Duplicates in Windows 10
iTunes usually gets installed in the C drive, unless the user chooses otherwise. However, there are some disadvantages of installing iTunes in the default installation location as the backup itself is stored in the same location. A Windows corruption can cause irreversible damage and loss of iTunes data in this case. So it is wise…
The week in tech, minus the noise.
New reviews, fixes and the stories that matter — once a week, straight to your inbox.
We only use your email to send the newsletter. Unsubscribe any time. See our privacy policy.
Comments