Today I am going to show you how to delete file using cmd .
Hello friends , or 🙂 I am very happy for being with you after having long vacation. Believe me , I missed you lot. or 🙁 I was eagerly waiting , when could I come back and share my ideas with you? All of you are my true friends by whom I can share my thoughts frequently breaking through all restriction, aren’t it? 🙂
I hope all of you are well through your mind. However, let’s go to point.
If you are new in this blog or newbie in using cmd I welcome you to read my previous blog from
CMD Tutorials For Beginners (Part-1) How To Create Folder By CMD
Delete File Using CMD
Suppose , I have a file named mymeetbook.txt on desktop.

I want to delete this file. I will show you this process by browsing directory. If you cannot browse directory by cmd please read this post How To Open Program Files Using cmd .
So , to do that, firstly I have to go Desktop directory. Type
cd desktop

If you can browse desktop directory or you can type your desired file names. However , I am showing you by browsing files. To browse directory ,
dir
When I typed dir ,all files are shown . Here, I got my desired file named mymeetbook.txt which I want to delete.

So, If you want to delete you have to type del then your file name with extension. Such as I am going to delete files named mymeetbook.txt so I have to type
del mymeetbook.txt

So again type dir to be sure that your file got deleted.

See, mymeetbook.txt was deleted. :Cool:
If, I you want to delete files all files of any extension, then what to do? hmm, Tell me.
Suppose, In Boss folder on desktop, I want to delete all text files. So to do that , You have to type
del / “your path with directory name “/then type star (*) with dot (.) and extension . I want to delete all text file in Boss directory on desktop. To do that I have to go desktop directory then boss directory.

There are one media file and two text files. Now I have to type this code to delete all text extension.
del C:\Users\jon\Desktop\Boss\*.txt

Then,

All text were gone away. :Cool:
In this away we can delete files using cmd .
♥♥♥ Previously, I mentioned that I spent a vacation for a tour. In this tour, I realize that It’s too tough to make happy others.
How to set up Chromecast tutorial demo NEW updated setup video Setup Chromecast Download the Chromecast Extension to share video content from websites to your Chromecast.
Now I want to share one of my favorite song . Though It is Bengali , but people regardless of religion , cast and creed feel music through lyrics , don’t it ? So, what’s problem ?
Thank you. See you later. Till then take care yourself. or 🙂 ..Oh!! yaeh!! Don’t forget to subscribe to get next post or leave a comment to give your feedback .Bye Bye.
Leave a Comment