The edit command is a simple editing software that we often use to edit some programs and batch files.
For example, I would like to edit a simple batch file in the C-packing directory, requiring that no matter what the current disk and current directory, you need to enter one character W at a time and then enter to run the Windows directory in the C-disk Windows program. That means we're going to edit a batch file with a file name of W.bat. We can typing edit w.bat carriage return at the prompt (which means editing the W.bat file)
After entering the edit state, enter the following: C:
Cd\windows
Win
When you are finished, press Alt+f to activate the File menu and press the down arrow to select Exit (exit).
Then the computer prompts if you want to save the content just entered, if you want to save, just enter Y or direct return.
At this time has edited the W.bat file, and back to the prompt state, with the previous type command to see just edited the W.bat file, just enter type W.bat carriage return.
Learn this, congratulations on your DOS small achievements, already have my 50% level (oh, don't be happy too early, want to surpass me, more than a little kungfu), now you can basically operate the computer.