MS-DOS Editor


MS-DOS Editor, commonly just called edit or edit.com, is a character-based text editor that comes with MS-DOS and 32-bit versions of Microsoft Windows. It superseded edlin, the standard editor in earlier versions.
Until MS-DOS 6.22 it was actually QBasic running in editor mode, but from DOS 7 QBasic was removed and MS-DOS Editor became a standalone program.
Editor is sometimes used as a substitute for Notepad on Windows 9x, where Notepad is limited to small files only. Editor can edit files that are up to 65,279 lines and up to approximately 5 MB in size. MS-DOS versions are limited to approximately depending on how much conventional memory is free. Editor can be launched by typing it into the Run command dialog on Windows, and by typing edit into the command-line interface. Edit is still included in later versions of Windows such as Windows XP, Windows Vista 32 bit, Windows 7 32 bit, and Windows 8 32 bit. Being a 16-bit DOS application, it will not directly run on 64-bit Windows versions.

Versions

Edit version 1.0 appeared in MS-DOS / IBM PC DOS 5.00, OS/2, and Windows NT to 4.0. Early Chicago betas included this version too. These editors rely on QBasic 1.0. This version can only open one file, to the limit of DOS memory. Although this editor can open one file, it can also open the quick help file in a split window.
Edit version 1.1 appeared in MS-DOS 6.0. No new features were added to the editor: the main difference is that the QBasic 1.1 is used to show the MS-DOS 6.0 help. This version is available also on all versions of Windows 9x, although the files are unchanged from 6.22. Renaming help.hlp to edit.hlp allows one to access the DOS 6 help system inside the editor, including cut and paste between the help system and the open file.
PC DOS 6 does not include the edit command. Instead, it has the DOS E Editor. This was upgraded to support mouse and menus in version of 7.0.
Edit version 2.0 appeared with Windows 95, and appears in Windows 2000 and later, now not using QBasic. As it is still a 16-bit DOS program, it is not included in any 64-bit version of Windows, nor will it directly work on one. This version of Edit will run on DOS 3.30 and higher and requires an 80286 or NEC V20/V30 processor or higher.
The FreeDOS version was developed by Shaun Raven and is licensed under the GPL.

Features

MS-DOS Editor uses a text user interface and its color scheme can be adjusted. It has a multiple document interface in which its version 2.0 can open up to 9 files at a time while earlier versions are limited to only one file. The screen can be split vertically into two panes which can be used to view two files simultaneously or different parts of the same file. It can also open files in binary mode, where a fixed number of characters are displayed per line, with newlines treated like any other character. This mode shows characters as hexadecimal characters. Editor converts Unix newlines to DOS newlines and has mouse support. Some of these features were added only in 1995, with the release of Windows 95.