MS-DOS Editor
![]() | |
Developer(s) | Microsoft |
---|---|
Initial release | June 1991 |
Stable release | 2.0.026
/ 1995 |
Operating system | MS-DOS, PC DOS, OS/2, Microsoft Windows |
Platform | Intel x86, 16-bit |
Predecessor | Edlin |
Successor | Windows Notepad, Microsoft Edit (see below) |
Type | Text editor |
License | Same as Windows |
Website | learn |
![]() | |
Developer(s) | Microsoft |
---|---|
Initial release | 19 March 2025[1] |
Repository | https://github.com/microsoft/edit ![]() |
Written in | Rust |
Operating system | Windows, Linux |
Size | 250kB[2] |
Type | Text editor |
License | MIT License |
MS-DOS Editor, commonly just called edit or edit.com, is a TUI text editor. Originally, it was a 16-bit that shipped with MS-DOS 5.0 and later,[3] as well as all 32-bit x86 versions of Windows. In 2025, Microsoft released a free and open-source remake.[2] It supersedes edlin, the standard editor in earlier versions of MS-DOS. Originally, EDIT.COM
was a stub that ran QBasic in editor mode. Starting with Windows 95, MS-DOS Editor became a standalone program because QBasic didn't ship with Windows.
Overview
[edit]Original
[edit]The Editor version 1.0 appeared in MS-DOS 5.00, IBM PC DOS 5.0, OS/2, and Windows NT 4.0. This version relies on QBasic 1.0. Hence, it uses a text-based user interface (TUI), and its color scheme can be adjusted. It can only open one file, but can open the quick help file in a split window.
The Editor version 1.1 appeared in MS-DOS 6.0. It uses QBasic 1.1 but no new features were added to the Editor.
IBM PC DOS 6 dropped the Editor in favor of another text editor called E, which supports mouse and menus in version 7.0.
The Editor version 2.0 appeared with Windows 95, as standalone app that no longer requires QBasic. It has a multiple-document interface and can open up to 9 files. 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 (LF) to DOS newlines (CRLF) and has mouse support. This version has been included with all 32-bit x86 versions. Being a 16-bit DOS app, it cannot run on x64, IA-64, or ARM64 versions of Windows.
The Editor may be used as a substitute for Windows Notepad, although the 16-bit version is limited to files smaller than 300 kB, depending on how much conventional memory is free.[4]
FreeDOS derivative
[edit]The FreeDOS version was developed by Shaun Raven and is licensed under the GPL.[5]
Remake
[edit]On May 18, 2025, Microsoft released an open-source recreation of the Editor written in the Rust programming language, simply named Edit, for modern versions of Windows.[6] The version number did not continue, resetting to 1.0.0.
References
[edit]- ^ "Initial import · microsoft/edit@f654981". GitHub. Retrieved 2025-05-23.
- ^ a b Nguyen, Christopher (2025-05-19). "Edit is now open source". Windows Command Line. Microsoft. Archived from the original on 2025-05-20. Retrieved 2025-05-23.
- ^ Wolverton, Van (2003). Running MS-DOS Version 6.22 (20th Anniversary Edition), 6th Revised edition. Microsoft Press. ISBN 0-7356-1812-7.
- ^ "Largest Document Size MS-DOS Editor Can Edit". 2003-05-12. Archived from the original on 2012-10-22. Retrieved 2008-06-12.
- ^ "ibiblio.org FreeDOS Package -- FreeDOS Edit (FreeDOS Base)".
- ^ Nguyen, Christopher (19 May 2025). "Edit is now open source". Microsoft Dev Blogs. Retrieved 20 May 2025.
Further reading
[edit]- Cooper, Jim (2001). Special Edition Using MS-DOS 6.22, Third Edition. Que Publishing. ISBN 978-0789725738.
- Tim O'Reilly; Troy Mott; Walter Glenn (1999). Windows 98 in a Nutshell: A Desktop Quick Reference. O'Reilly. ISBN 978-1565924864.
External links
[edit]- MS-DOS Editor on Microsoft Learn