This post is about how to edit files by using cmd. It’s so easy. Just follow this instruction and do it yourself. There are various method to edit files. I show you step by step. I think all of you enjoy it.
If you are new or feel tough to understand this topics, Please read my previous tutorial
How To Edit files Using Cmd
1] Firstly,I have to change directory to desktop.So type
Now, I am on desktop. I want to edit files of “Newfolder” It’s is a folder name that I created previous post. If you want to see this post click here.
2] So,If I want to edit files in “Newfolder” I have to switch directory from desktop to
newfolder Type this,
Yeah, I am now newfolder.
3] I want to edit partho.txt file that is in this folder.
Then , a blue window will be appeared.
4] Yeah, I can edit text now.Suppose I write
I love all lovers.
After that I have to save. Go to File tab and click Save
Now , You can test it that it got saved or not by going to partho.txt file.
5] If I want to save this file as another file extension ,suppose I want to save this file as csv format
Just go to “File” tab and “Save As” I want to this file save as Partho1.csv
Then we see a Partho1.csv file is created.
We can back to original cmd window by clicking exit window.
6] now, if i want to create new text by typing new text just type
Again, blue screen will be appeared.
7] Then ,type just like as your wish. I wrote here ” I want to be a Don in the tech world”
Then click “save as” button and give your file name and then type dot(.) and click “ok”
suppose I save as this file don.txt
and click ok then don.txt file created in “newfolder”
I can create directly on C drive. To do that,I have to switch directory from newfolder to C directory.
I have to type code that I showed you i my previous post. To see this click here.
I have to show this again because I want show you another simple tricks.
Following previous post I have to type cd.. code to switch back to another directory from current directory. Such as, I want to go “Jon “directory from newfolder. I have to type cd.. ,then I return previous directory Desktop .
Then , I have to again type this code again cd.. Finally I am able to go Jon directory.
This thing, we can do easily from newfolder to Desktop just type
Not only that if we want to switch back directory from “newfolder “to “C” directory,we have to type this code
Here, you see , there have 4 steps between c directory and newfolder that you have to jump over
so that you have to type double dot (..)4 times.
I think it is clear. ok.
Now, if you want to create a file in C directory .you have to make a new directory in C drive. Then edit files again.
You can edit text in different way. By going to desktop directory then type
copy con mymeetbook.txt
here mymeet.txt is a file name
then type your message . Here I typed
I love mymeetbook
then press enter button type ctrl+Z to copy.
***MyMeetBook is a largest social platform. If you want to know about mymeetbook.com please Click Here.
then type your message here, I typed omar faruk is a founder of mymeetbook
then type arrow (>)button
and save it your desired text format
I saved it lol.txt
You can edit files by opening files by notepad
notepad and type desired file name and extension
suppose , I typed don.txt
then ,notepad will be appeared, type what your wish save it your desired format from notepad.
I saved it don.txt
you an also view this video tutorial , I hope that all of you enjoy it.
Thank you to all to read this post. If you face any problems please tell us in comment and don’t forget to feedback us…