Question: How to Force Delete a Folder Windows 10?
Contents

Here’s what you need to do to delete a certain file or folder with Command Prompt:

  • Go to Search and type cmd. Open Command Prompt.
  • In the Command Prompt, enter del and location of folder or file you want to delete, and press Enter (for example del c:usersJohnDoeDesktoptext.txt).

How do I force delete a folder?

Tap on the Windows-key, type cmd.exe and select the result to load the command prompt.

  1. Navigate to the folder that you want to delete (with all its files and subfolders).
  2. The command DEL /F/Q/S *.* > NUL deletes all files in that folder structure, and omits the output which improves the process further.

How do I force delete a file in Windows 10?

TO DO: Press Windows logo key + X, and hit C to open the command prompt. In the command window, type the “cd folder path” command and press Enter. Then type del/f filename to force delete the file that is in use.

Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest