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.

How to Setup Speed Limit in TP-Link / Wifi Router

Inside a typical home system, the data transfer capacity is shared by all PCs. This implies any PC utilizing high-data transfer capacity applications, for instance, deluge programs or another P2P programming will influence alternate PCs. This may likewise incorporate negative impact on the execution of the whole system. How might we keep away from this? The appropriate response is Bandwidth Control, which is intended to limit the effect caused when the association is under an overwhelming burden. Utilizing Bandwidth Control, we can allow a particular least or greatest transfer speed for every PC, which implies they have less obstruction on each other. It would be ideal if you take after the means underneath to arrange this element. How to configure Bandwidth Control? 1- Type 198.168.0.1 or tplinklogin.net in your web browser, enter the username and password (both of which are admin by default), and press Enter. You will be shown the web interface for your TP-Link route