Using the command prompt as text editor

1 January 2000 by Snakefoot | Comment » | Trackback Off
Run the this command at the dos prompt:

COPY CON NEW.BAT

Now you are copying the input from the keyboard and into the batch file NEW.BAT. It is not possible to modify previous lines, the only option is to start all over. To finish the editing press CTRL+Z.
Tags:
Category:

Updated: 24 September 2007

Comments:

Comment by Donald Brown - 20 August 2009 @ 4:10 Reply

The really nice thing about using the command line text editor option is that it is very easy to use. All you have to do, is to simply type in the following at the command prompt.

copy con filename.txt

Now with MS-DOS, you were only allowed eight letters or numbers for naming the file. However, with Windows, file names can be much longer.

To skirt around the eight letter limit, simply use underlines between the words just like the example here below.

example_of_text_file_with_longer_name.txt

Then all you need to do, is to simply begin typing in the text and then press the control key and the letter z, and you’re done writing the text. Then just close out the DOS console window, and your file will appear where you had written it. Pretty simple huh?

OK, so this text editor doesn’t ahve any features, but it is sure a great way to begin taking notes, or writing what you need to write on the spot.

Leave a comment


NB! Use the Forum for computer help and off-topic questions.

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>