Permanently Deleting a File

Written by Barry Dysert (last updated June 28, 2021)

By default, most files that you delete from your system are not physically deleted. Instead, they are moved to the Recycle Bin. This is so you can recover a deleted file if you later discover that you actually needed it. However, if you're sure that you truly want to permanently delete a file (thus bypassing the protection the Recycle Bin affords you), it's easy to do.

If you're using Windows Explorer (Windows 7) or File Explorer (Windows 8 and Windows 10), there are a couple of ways to delete a file. One way is to select the file (i.e., single-click the file name) and press the keyboard's Delete key. Another way is to right-click the file and select Delete from the Context menu. In either case, the file is moved to the Recycle Bin. If, instead, you want to permanently delete the file, just hold down the Shift key when performing the delete. The file is permanently deleted and not stored in the Recycle Bin.

There is a known problem in Windows whereby using the keyboard to do a Shift+Delete doesn't always permanently delete the file. This can be troublesome, especially if the file you're trying to delete is very large. There seems to be no such problem, though, permanently deleting the file by holding Shift and deleting the file via the Context menu.

You should also be aware that if you use the command prompt, any files you delete from there will not end up in the Recycle Bin. They will, instead, bypass the bin and be permanently deleted.

 This tip (12430) applies to Windows 7, 8, and 10.

Author Bio

Barry Dysert

Barry has been a computer professional for over 35 years, working in different positions such as technical team leader, project manager, and software developer. He is currently a software engineer with an emphasis on developing custom applications under Microsoft Windows. When not working with Windows or writing Tips, Barry is an amateur writer. His first non-fiction book is titled "A Chronological Commentary of Revelation." ...

MORE FROM BARRY

Enabling Libraries in File Explorer

Windows 7 introduced us to libraries, but they're turned off in Windows 10. Here's how to get them back.

Discover More

Passing Parameters to a PowerShell Script

Like the older batch-file processor, PowerShell can accept parameters. This allows for flexibility in your script. This ...

Discover More

Using Reliability Monitor

Reliability Monitor provides some measure of how stable your system is. It does this by noting, over time, various types ...

Discover More
More WindowsTips

Deleting a Saved Search

Windows Explorer has a good search utility built into it. As you use it, you may wish to delete a previously saved search ...

Discover More

Filtering a Folder's Content

If you have lots of files on your computer, it is helpful to filter the files to more easily find a specific one. When ...

Discover More

Undoing a System Restore

Having the ability to restore your system back to when it was working properly is great, but what if, for some reason, ...

Discover More
Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 2 + 2?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


Newest Tips