The MS-DOS Editor interface
|Initial release||June 1991|
|Stable release||2.0.026 / 1995|
|Operating system||MS-DOS, Microsoft Windows|
|This article needs additional citations for verification. (May 2008)|
MS-DOS Editor, commonly just called edit, is a character-based text editor that comes with MS-DOS (since version 5) and 32-bit versions of Microsoft Windows. It superseded edlin, the standard editor in earlier versions.
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 300 kB, 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 won't directly run on 64-bit Windows versions.
Edit version 1.0 appeared in MS-DOS / 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.
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 (as included in DOS 7 or Windows 9x) can open up to 9 files at a time while earlier versions (included in DOS 5 and 6) 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 (0-9 and A-F). Editor converts Unix newlines to DOS newlines and has mouse support. Some of these features were added only in 1995 (version 2.0), with the release of Windows 95.
- "Largest Document Size MS-DOS Editor Can Edit". 2003-05-12. Retrieved 2008-06-12.