5 ways to delete files (temporarily or permanently) in Windows 10

Whether it's work-related documents and presentations or personal pictures and files, when you run out of space on your Windows 10 computer or device, you have to delete some of them. We delete files regularly, and yet, not many of us know how the process works or that there is more than one way you can delete files. If you want to know how to delete files from Windows 10, including permanently deleting them so that they can no longer be recovered, read this article:

Contents

  1. 1. Delete or permanently delete files using keyboard shortcuts
  2. 2. Delete files using the right-click menu
  3. 3. Delete or permanently delete files from File Explorer's ribbon
  4. 4. Permanently delete files using PowerShell or Command Prompt
  5. 5. Permanently delete files using specialized software
  6. Problems when deleting files: File In Use
  7. Which method do you prefer for deleting files from Windows 10?

TIP: When you delete a file, even when you use the permanently delete option, that file can still be recovered. To learn why, read: What happens to deleted files? Why can you recover some of them?

1. Delete or permanently delete files using keyboard shortcuts

The simplest way to delete a file or a group of files is to open File Explorer and navigate to its location. Find the file that you want to delete, and click or tap on it to select it. You can select more than one file by pressing the CTRL key and keeping it pressed. With the mouse, click the files that you want to select. Release the CTRL key when done.

5 ways to delete files (temporarily or permanently) in Windows 10

Selecting the files that you want to delete

TIP: To select all files in a folder, press CTRL+A on your keyboard.

To delete the selected file(s) and move it (them) to the Recycle Bin, press the Delete key on your keyboard.

5 ways to delete files (temporarily or permanently) in Windows 10

The Delete key on a standard keyboard

By default, Windows 10 does not ask for a confirmation when you remove files, but if your Recycle Bin is configured to display a delete confirmation dialog, confirm the process by pressing Yes.

5 ways to delete files (temporarily or permanently) in Windows 10

Are you sure you want to move this file to the Recycle Bin?

To delete the selected file(s) without moving to the Recycle Bin, press SHIFT+Delete on your keyboard.

5 ways to delete files (temporarily or permanently) in Windows 10

Pressing SHIFT+Delete removes files without moving them to the Recycle Bin

This action permanently deletes the selected file(s), and Windows 10 asks for confirmation before it goes ahead with the removal. When you are asked "Are you sure you want to permanently delete this file?", press Yes.

Are you sure you want to permanently delete this file?

The file is gone from your Windows 10 PC, without being moved to the Recycle Bin. It can be recovered only with specialized software like Recuva.

2. Delete files using the right-click menu

Another method involves selecting the file(s) that you want to delete in File Explorer and right-clicking (or pressing and holding) the selected item(s). In the contextual menu, choose Delete.

5 ways to delete files (temporarily or permanently) in Windows 10

Delete a file from the right-click menu

This action moves the selected file(s) to the Recycle Bin, from which they can be recovered, if needed. It does not permanently delete files as other methods do.

3. Delete or permanently delete files from File Explorer's ribbon

You can also browse to the files that you want to delete in File Explorer and select them. Then, click or tap the Home tab on the ribbon, and then the Delete button. This action removes the selected item(s) and moves them to the Recycle Bin.

5 ways to delete files (temporarily or permanently) in Windows 10

Delete a file from the File Explorer's Home tab

If you want to delete a file permanently, select it. In the Home tab on the ribbon, instead of clicking Delete, click the arrow beneath the Delete button and then choose "Permanently delete."

5 ways to delete files (temporarily or permanently) in Windows 10

Permanently delete a file from the File Explorer's Home tab

4. Permanently delete files using PowerShell or Command Prompt

Windows 10 has a command that you can use to permanently delete files, and it can be used both in PowerShell and Command Prompt. Depending on what you prefer, start the Command Prompt or open PowerShell. Then, enter the command: del "path to file".

For example, to delete the sample.jpg file found on the D: drive, in the Digital Citizen folder, we typed: del "D:\Digital Citizen\sample.jpg".

5 ways to delete files (temporarily or permanently) in Windows 10

Delete a file from PowerShell

Press Enter to execute the command, and the file is deleted without any confirmation being required. As documented by Microsoft here, this command can be used with several parameters. The most interesting is /f, which forces the deletion even when dealing with a read-only file that normally cannot be deleted. To use this parameter, type in: del /f "path to file".

5 ways to delete files (temporarily or permanently) in Windows 10

Delete a read-only file from the Command Prompt

Don't forget to press Enter to execute the command.

NOTE: When using the command-line to delete files, they are not moved to Recycle Bin.

5. Permanently delete files using specialized software

If you want to remove files from your Windows 10 PC so that they cannot be recovered with specialized file recovery tools, it is a good idea to remove them using apps that are permanent file erasers. Eraser is an excellent app for this purpose, and it works on any PC or device running Windows.

5 ways to delete files (temporarily or permanently) in Windows 10

Eraser helps you delete files so that they cannot be recovered

You can also find similar apps in this article: 8 best free data erasing apps that permanently delete your files and folders.

Problems when deleting files: File In Use

When deleting a file, you may encounter an error that says: "File In Use. This action can't be completed because the file is open in…" followed by an app's name. If you Try Again, you hit the same error over and over.

5 ways to delete files (temporarily or permanently) in Windows 10

File In Use error, in Windows 10

To solve this problem, you have to close the app mentioned by the error message. That app uses the file that you want to remove and keeps it open for editing. In this state, the file cannot be deleted. After the app is closed, and it no longer uses the file, the deletion process works.

If closing the app doesn't lead to the expected result, restart Windows 10 and try again.

Which method do you prefer for deleting files from Windows 10?

Now you know how to delete files using the keyboard, the mouse, and even specialized software or commands in PowerShell. Before closing this guide, let us know which method you prefer and why. Are you a keyboard user? Do you prefer to use the mouse? Or maybe the del command? Comment below and let's discuss the best way to remove files from Windows 10.

Sign up and earn $1000 a day ⋙

How To Access An Android Phone With A Broken Screen

How To Access An Android Phone With A Broken Screen

Dealing with a broken screen on your Android phone is a hassle. Although phone screens are pretty tough, one nasty drop can shatter them completely. Given that most people have a lot of irreplaceable content on their phones, it is

Find out how to find friends and family using online services

Find out how to find friends and family using online services

In today's world, where information is more accessible than ever before, finding long-lost friends or relatives has become much easier. Online services for finding people provide convenient and effective tools that allow you to restore lost connections.

IObit Uninstaller 13 - One Click to Uninstall All Unwanted Programs

IObit Uninstaller 13 - One Click to Uninstall  All Unwanted Programs

In the busy software utilities industry, the available uninstallation tools are often overshadowed by more glamorous alternatives. Nonetheless, an excellent way of removing programs on a PC is vital for optimal system performance and the elimination of unwanted applications.

Instructions for creating Moon phase trend

Instructions for creating Moon phase trend

Instructions for creating a Moon phase trend. The Moon trend is extremely popular on TikTok, creating an unprecedented fever. Through Moon phase will help you know the date

How to edit videos posted on YouTube without losing views

How to edit videos posted on YouTube without losing views

How to edit videos posted on YouTube without losing views, You forgot to blur sensitive content in videos posted on YouTube. Don't worry, here's how to adjust it

How to enable dark mode on TikTok

How to enable dark mode on TikTok

How to turn on dark mode on TikTok, How to turn on dark mode on TikTok is not difficult. The article will guide you in detail how to change the TikTok interface to black on Samsung

Shirt size chart - How to choose the most accurate shirt size

Shirt size chart - How to choose the most accurate shirt size

Shirt size chart - How to choose the most accurate shirt size, What is the shirt size chart? Shirt size means only the size and size of the shirt or pants. Shirt size varies according to direction

Instructions for drawing prizes to receive Lucky Money on ZaloPay

Instructions for drawing prizes to receive Lucky Money on ZaloPay

Instructions for drawing prizes to receive Lucky Money on ZaloPay. Recently, Zalo has launched the program "Amazing lucky money, Happy Spring Luck" taking place from January 29, 2021 to

How to view and recover Microsoft Outlook password

How to view and recover Microsoft Outlook password

How to view and recover Microsoft Outlook password, How to view Outlook password on computer is not difficult. This article will guide you how to view and recover Outlook password

Instructions for creating and searching for draft posts on Facebook

Instructions for creating and searching for draft posts on Facebook

Instructions for creating and searching for draft articles on Facebook. Currently, we can save articles that we have created but have not yet posted on Facebook. Here, WebTech360 invites

How to set up LibreOffice Writer to work like Microsoft Word

How to set up LibreOffice Writer to work like Microsoft Word

How to set up LibreOffice Writer to work like Microsoft Word, If you're planning to switch from Microsoft Word to LibreOffice Writer but want a similar experience

Instructions for turning off saving videos on TikTok are extremely simple

Instructions for turning off saving videos on TikTok are extremely simple

Instructions for turning off saving videos on TikTok are extremely simple, to help people block others from downloading and saving their videos simply and easily. So today, WebTech360

Instructions for creating genealogical and organizational charts on Google Sheets

Instructions for creating genealogical and organizational charts on Google Sheets

Instructions for creating genealogical charts and organizing them on Google Sheets. Google Sheets is an online office application that helps us easily edit online spreadsheets,

How to import and manage multiple email accounts in Gmail

How to import and manage multiple email accounts in Gmail

How to import and manage multiple email accounts in Gmail, Want to manage all emails in Gmail? Let's learn how to manage and add multiple accounts with WebTech360

Instructions for using Photoshop filters for beginners

Instructions for using Photoshop filters for beginners

Instructions for using Photoshop filters for beginners, Each filter in Photoshop has its own algorithm and uses. Below are instructions for using the internal filter

How to create automatic clicks on Macrorify

How to create automatic clicks on Macrorify

How to create automatic clicks on Macrorify, Macrorify helps you create automatic click tasks and detect images. In this article, let's find out how with WebTech360

Instructions for logging out of Instagram account remotely

Instructions for logging out of Instagram account remotely

Instructions for remotely logging out of your Instagram account. If you don't know how to remotely log out of your Instagram account, today WebTech360 would like to introduce

Instructions for remotely logging out of Tik Tok account

Instructions for remotely logging out of Tik Tok account

Instructions for remotely logging out of Tik Tok account. To help people quickly log out of Tik Tok accounts from other devices, today WebTech360

Instructions for blurring photos on B612

Instructions for blurring photos on B612

Instructions for blurring photos on B612. Recently, the B612 application has updated the image blur effect. Next, WebTech360 will introduce the article Instructions for blurring photos

How to fix the error of printing blank pages in Microsoft Excel

How to fix the error of printing blank pages in Microsoft Excel

How to fix the error of printing blank pages in Microsoft Excel. Why do some Excel documents not display data or contain blank pages when printed? Below are the reasons