What is Command Prompt? It is a command-line interpreter application also known as cmd.exe or cmd. It can only be used in Windows operating system, and it is a gorgeous tool that can help you do a lot of advanced operations and solve some Windows issues.
Command Prompt is functional, you can deal with USB virus remove with cmd or activate Windows using cmd, and you can use it to delete files and folders very fast with the del command and rmdir command, especially if you have several items to erase. We will teach you how to use cmd delete files with a detailed tutorial.
First, you need to know that using cmd to delete files is not like putting files and folders into Windows Recycle Bin. You can recover files from Recycle Bin folder directly, but it is not easy to recover cmd deleted files without third-party recovery software. So be careful when you are deleting files with cmd. Make sure you delete the files you don't want anymore. Now let us learn how to open cmd first.
We will teach you the easiest way to open the Command Prompt on Windows.
Step 1. Click "Start", and you'll see the search box.
Step 2. Type in cmd.
Step 3. Right-click cmd and select "Run as Administrator".
Step 4. Now you can use Command Prompt to delete files.
Once you have learned how to open the Command Prompt, you can type in command lines. Follow the tutorial and type in the correct command lines to delete files.
Step 1. Type in del with a space after it.
Step 2. Then type the path for each file you want to delete, and remember to add spaces to separate each file name.
Step 3. Make sure you type in the right path and press the Enter key.
You will need a different command to delete folders with cmd on your computer. Keep reading and follow the operations:
Step 1. Type in rmdir with a space after it.
Step 2. Then type the path for each folder you want to delete.
Step 3. Make sure you type in the right path and press the Enter key.
It is possible that you accidentally delete key files and folders, and you don't know how to recover permanently deleted files. You can easily return these essential items with Deep Data Recovery.
No matter it is you delete file with PowerShell or with Command Prompt, Deep Data Recovery can help you recover deleted files easily. This professional recovery tool also can be handy for home users.
You don't have to worry about how to recover deleted videos, photos, music, emails, and documents. Deep Data Recovery can ensure you don't bother with data loss anymore.
It is also a handy tool, and you can recover deleted files and folders in three steps.
Step 1. Select file types and click "Next" to start
Correctly connect your USB flash drive to your Mac. Launch Deep Data Recovery for Mac. Select file types and click "Next" to start.
Step 2. Select a location and start scanning
Launch Deep Data Recovery, hover on the partition/drive where the deleted files were stored. Click "Scan" to find lost files.
Step 3. Select the files you want to recover
When the scanning has finished, select the deleted files you want to recover. You can click on the filter to display only the file types you want. If you remember the file name, you can also search in the "Search files or folders" box, which is the fastest way to find the target file.
Step 4. Preview and recover deleted files
Preview the recoverable files. Then, select files you want to restore and click "Recover" to store the files at a new storage locations instead of the disk where the data was previously lost.
Except for deleting files with Command Prompt, there are many other things cmd can do on Windows. For example, if you can't find the file and find it is hidden. It is possible to show hidden files using cmd.
When you are using the computer or laptop, if you want to get back deleted videos, photos, or files, download Deep Data Recovery immediately, and you can find your lost files in one click.
We have listed some further questions and answers here:
You will need the del command and rmdir command to delete files and folders with Command Prompt. And the del command is the most common command to erase one or multiple files.
When you find you can't commonly delete corrupted files, you can try deleting files with cmd.
You can delete a single file and multiple files with the del command.
You can use cmd to delete all the files and folders using del and the /S flag ( to tell cmd to remove all files from all subdirectories).