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.
The MS-DOS editor (edit.exe) is not present in modern 64 bit Windows. The only option is Notepad. So I did this in the following way.

1. Press `Windows key` + `R` → type cmd and hit `Enter` → in the taskbar right click on the
Command prompt icon → click pin to task bar → close command prompt.
Now again right click on the Command prompt icon (that, you have recently pinned) → right click on Command Prompt → click *Properties* → in *Shortcut* tab write **"%windir%\system32\"** (without quotes) in the Start in box → click `OK`.
2. Open Command Prompt from the task bar (you have recent pinned the command prompt icon in the task bar)

\*\*\*\*\*\*\*\*To View Command prompt (CMD) in full screen Start CMD → right click on the Name bar of CMD → click *Layout* → increase Window Buffer Size width and height\*\*\*\*\*\*\*\*\*\*\*
3. Type "notepad" without quotes.
4. Write your text and save

You have successfully written, saved and editd a text file on x64 bit Windows using the command prompt".