Skip to main content

How to Delete a File/Folder Permanently using Command Prompt (cmd) [ Windows ]

How to Delete a File/Folder Permanently using Command Prompt (cmd) [ Windows ]

What is Command Prompt?

Command Prompt, also known as cmd.exe or cmd, is the command-line interpreter on Windows NT, Windows CE, OS/2 and eComStation operating systems. It is the counterpart of COMMAND.COM in DOS and Windows 9x systems (where it is also called "MS-DOS Prompt"), and analogous to the Unix shells used on Unix-like systems. 

Reason Why the file/folder cannot be deleted:

Sometimes deleting a folder and its contents from Windows Explorer can take an eternity especially when dealing with large folders as it deletes each file one by one.  The faster way is to delete the folder from the windows command prompt.

Code for deleting a file:

First, open the cmd then type the following command line and
hit enter.

DEL /F /Q /A <Path of the file>

How to Delete a File/Folder Permanently using Command Prompt (cmd) [ Windows ]

Code for deleting a folder:

First, open the cmd then type the following command line and hit enter.

RD /S /Q <Path of the Folder>

How to Delete a File/Folder Permanently using Command Prompt (cmd) [ Windows ]

Popular posts from this blog

Unix/Linux Keyboard Shortcuts

Shortcuts are intended to help abbreviate the time required to perform often utilized directions or activities. In the areas beneath, we have recorded console easy route keys that can be performed by squeezing at least two keys on the double. We have additionally recorded order line easy route keys that can be composed at the shell.

5 Ways to find Trending Content for YouTube and Blogger

We as a whole need to be viewed as in vogue and important. You need to in a perfect world locate the substance with the most buzz, the substance that is simply taking off. Get in on the ground floor, maybe. Offer it past the point of no return, and you're simply one more advertiser riding the coattails of the current "it" piece. It's a scarce difference.