Question: I'm studying IT and in my current class am learning the basic MS-DOS commands (CD, DIR, TREE, etc...). At the school, I'm using Windows 7, and I don't know how, but I'm still able to run the old EDIT command in DOS.

However, in my Windows 8 (64-bit version) laptop I'm not able to run this command. I know that it's kind of silly to ask for that once I can use a common text editor like Notepad or [Notepad++](http://en.wikipedia.org/wiki/Notepad%2B%2B), but only as a way to recreate the environment hat I have in class I'm looking for a way to use the EDIT command.

I've heard some people talking about DOSBox or ExDOS as a solution, but I don't know them.

Answer: 
While it will work differently (definitely the EDIT utility will not be the same), you can [download a ready-made FreeDOS](http://virtualboxes.org/images/freedos/) virtual machine and run in VirtualBox. 

Or, if you have the access, install a 32-bit Windows in a virtual machine and run it there.
You can use echo command in windows 10   

Example: 
1: If you want to edit C:/test/now.txt file Command below  

Command: >> cd c:/test

> 
> 
> > 
> > echo This is a line what adding in now file >> now.txt
> > 
> > 
> > 
> 
> 
> 

2: You can make a file using cmd  

 Command: >> cd c:/test

> 
> 
> > 
> > echo this is a text file >text.txt
> > 
> > 
> > 
> 
> 
> 

3: You can view a file using cmd  

 command: >> cd c:/test

> 
> 
> > 
> > type now.txt
> > 
> > 
> > 
> 
> 
>