Using DOS Edit

If you are debugging an ASP file, you get error messages identifying the line number that stopped the program (it is important to realize that the fundamental problem may have occurred well before this line, but the line number is still useful information). Counting twenty or thirty lines is only boring; counting a few hundred lines is next to impossible. At this point, a true programmer's editor that counts lines is more than welcome. The DOS Edit program is such an editor. While it pays absolutely no attention to the mouse, it is not too hard to learn, and counting lines more than makes up for going mouseless.

Start DOS Edit by going to Start > Run..., then type edit and tap the <Enter> key.


Figure 1: The Edit opening screen

The <alt> key accesses the menus with letters highlighted.

<Alt> then <F> (one at a time, not simultaneously) displays the File menu, with one letter highlighted for each of its options:

It is easiest to activate a menus using these highlighted letters, as follows (do not type the hyphens below):

Here is the File Open menu in Edit. Move to a window using <tab> and <Shift><tab>, move the highlight around in a window using the up and down arrow keys, and choose the highlighted item with the <Enter> key.


Figure 2: The Edit File Open Dialog


Figure 3: A file open in Edit

Once a file is open, edit it using the following keystrokes:

Some nice features of Edit: