How To Delete Files Using CMD
Everyone knows about command prompt (CMD) & its functions. And Today, I have an amazing and cool trick that will let you delete your files using Command Prompt. Yeah, that might sounds amazing & cool. So if you want to delete files using Command Prompt (CMD) but don’t know how to do it? Then, don’t worry because today I will teach you that how you can easily delete files by using Command Prompt (CMD) in your PC.
Also Read : A few Useful Run Commands for Windows [List]
» How To Delete Files Using Command Prompt (CMD)
So, to delete files using CMD on your PC then follow the below given steps.
- Click on Start button and then type “CMD” in the Start search bar and hit Enter key. or simply press ” Windows + R ” key on your keyboard and then you have to type CMD in the search box of Run Command. Then, hit Enter key.
- Now, in the Command Prompt window, type “del” and then type the complete location of the file which you want to delete and also remember to enter the complete file name with file extension. For example: “del C:UsersYour-UsernameDesktopABC.txt”
- If you don’t know the extension of the file that you want to delete then simply enter the file name in the search bar of your Windows and then right click on that file and then go to the Properties. In the new dialog box, you will see the complete name of that file and it would be like this C:ABC.txt
- Remember to add del first before typing the path of the file that you want to delete.
- That’s it!
So this was all about how to delete files using Command Prompt (CMD). Now you will be able to easily delete files using Command Prompt (CMD) in PC. Do share your views with us. And If you have any further queries or questions to be asked regarding this article, feel free to ask. We would like to interact with you regarding your queries and questions. Your suggestions and feedback are always welcomed.
If you think it useful then consider to share it with your friends. Because Sharing is Caring !