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 pin comments on TikTok

How to pin comments on TikTok

How to pin comments on TikTok, TikTok allows users to pin comments easily. Here's how to pin comments on TikTok videos.

Instructions for Organizing a Q&A session on Facebook

Instructions for Organizing a Q&A session on Facebook

Instructions for Organizing a Q&A session on Facebook, Recently, Facebook has launched the feature to create a Q&A session, when you post a question for everyone to answer.

Instructions for installing and recording videos with Likee

Instructions for installing and recording videos with Likee

Instructions for installing and recording videos with Likee, Likee is an application that supports extremely beautiful and impressive video recording, and is loved by many young people today. The following,

How to export the list of meeting participants in Zoom

How to export the list of meeting participants in Zoom

How to export the list of meeting participants in Zoom, How to take attendance on Zoom is not difficult, it even allows you to export the list of students participating in the class.

How to change font on Xiaomi

How to change font on Xiaomi

How to change font on Xiaomi, Want to create a new image for Xiaomi device? Just follow the instructions below to change the font style and size above

Instructions for creating a mirror image effect on Picsart

Instructions for creating a mirror image effect on Picsart

Instructions for creating a mirror image effect on Picsart, Picsart is an application where users only need to perform a few simple steps to transform the photo.

How to add new fonts to Microsoft Word

How to add new fonts to Microsoft Word

How to add new fonts to Microsoft Word, Can't find the font you want to use for documents in Microsoft Word? Don't worry, you can install new fonts for Word according to these steps

How to turn off the computer screen and still keep the computer running

How to turn off the computer screen and still keep the computer running

How to turn off the computer screen and still have the computer running, How to turn off the PC screen and still have the computer running on Win 10/11? Very simple. Here's how to turn off the computer screen

How to fix facebook error logging in 3/2024

How to fix facebook error logging in 3/2024

To fix the “An unexpected error occurred” issue when logging in to Facebook, you can try the following steps

Cant access Facebook, Messenger and Instagram, how to fix it immediately

Cant access Facebook, Messenger and Instagram, how to fix it immediately

Users reported that their Facebook, Messenger and Instagram accounts were suddenly logged out and could not be accessed again, both on the app and web version.

Instructions on how to take photos on Tiktok are extremely simple

Instructions on how to take photos on Tiktok are extremely simple

Instructions on how to take photos on Tiktok are extremely simple. Tiktok is a famous application for recording and creating short videos on social networks. However, this application also

How to find and get Instagram links

How to find and get Instagram links

How to find and get Instagram links, Instagram is one of the most popular and easy-to-use social networking platforms today. However, because it is designed specifically for mobile,

Instructions for locking the mouse cursor when playing games on BlueStacks

Instructions for locking the mouse cursor when playing games on BlueStacks

Instructions for locking the mouse cursor when playing games on BlueStacks, Instructions for turning on/off the mouse cursor lock feature when playing games in the BlueStacks App Player emulator.

Instructions for installing and using Faceapp using an emulator on PC

Instructions for installing and using Faceapp using an emulator on PC

Instructions for installing and using Faceapp using an emulator on PC, Simple and easy instructions on how to install and use the Faceapp face editing app using an emulator on PC

Instructions for creating a cover photo group on Facebook

Instructions for creating a cover photo group on Facebook

Instructions for creating a cover photo group on Facebook, Creating a cover photo group is a feature that helps users set Facebook cover photos with many different images (maximum of 6 photos).

Mastering Technical Analysis with the Stochastic Indicator on Bubinga

Mastering Technical Analysis with the Stochastic Indicator on Bubinga

Learn how to effectively use the Stochastic Indicator for technical analysis on Bubinga. Explore advanced techniques to enhance your trading strategies

Instructions for adding angel wings to photos using PicsArt

Instructions for adding angel wings to photos using PicsArt

Instructions for adding angel wings to photos using PicsArt, PicsArt is a photo editing application used by many people today. Today WebTech360 will introduce the article

How to turn off the Just accessed notification on Zalo

How to turn off the Just accessed notification on Zalo

How to turn off the Just accessed notification on Zalo. This article WebTech360 will guide you to turn off the Just accessed notification under your Zalo chat name.

Instructions for blocking and unblocking accounts on TikTok

Instructions for blocking and unblocking accounts on TikTok

Instructions for blocking and unblocking accounts on TikTok. Similar to other social networking applications, TikTok also allows users to block someone's account

How to write a long status with a colorful background on Facebook

How to write a long status with a colorful background on Facebook

How to write a long status with a colorful background on Facebook, Today, WebTech360 will introduce some steps to post a long status with a colorful background on Facebook,