MS-DOS Editor

Text editor in MS-DOS and Windows 9x

MS-DOS Editor

Developer(s)| Microsoft
Initial release| June 1991; 33 years ago (1991-06)
Stable release|

2.0.026 / 1995; 30 years ago (1995)

Operating system| MS-DOS, PC DOS, OS/2, Microsoft Windows
Platform| Intel x86, 16-bit
Predecessor| Edlin
Successor| Windows Notepad
Type| Text editor
License| Proprietary commercial software
Website| docs.microsoft.com/en-us/windows-server/administration/windows-commands/edit

This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "MS-DOS Editor" – news · newspapers · books · scholar · JSTOR (May 2008) (Learn how and when to remove this message)

|

MS-DOS Editor, commonly just called edit or edit.com, is a TUI text editor that comes with MS-DOS 5.0 and later,[1] as well as all 32-bit x86 versions of Windows, until Windows 10. It supersedes edlin, the standard editor in earlier versions of MS-DOS. In MS-DOS, it was a stub for QBasic running in editor mode. Starting with Windows 95, MS-DOS Editor became a standalone program because QBasic didn't ship with Windows.

The Editor may be used as a substitute for Windows Notepad on Windows 9x, although both are limited to small files only. MS-DOS versions are limited to approximately 300 kB, depending on how much conventional memory is free.[2] The Editor can edit files that are up to 65,279 lines and up to approximately 5 MB in size.[citation needed]

## Versions

[edit]

The Editor version 1.0 appeared in MS-DOS 5.00, PC DOS 5.0, OS/2, and Windows NT 4.0. These editors rely on QBasic 1.0. This version can only open one file, to the limit of DOS memory. It can also 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.

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.

The Editor version 2.0 appeared with Windows 95, as standalone app that no longer requires QBasic. This version has been included with all 32-bit x86 versions, until Windows 10. Being a 16-bit DOS app, it does not directly run on x64, IA-64, or ARM64 versions of Windows.

The FreeDOS version was developed by Shaun Raven and is licensed under the GPL.[3]

## Features

[edit]

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 version 2.0.

## References

[edit]

1. ^ Wolverton, Van (2003). Running MS-DOS Version 6.22 (20th Anniversary Edition), 6th Revised edition. Microsoft Press. ISBN 0-7356-1812-7.
2. ^ "Largest Document Size MS-DOS Editor Can Edit". 2003-05-12. Archived from the original on 2012-10-22. Retrieved 2008-06-12.
3. ^ "ibiblio.org FreeDOS Package -- FreeDOS Edit (FreeDOS Base)".

## 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]

Wikibooks has a book on the topic of: Guide to Windows Commands

* "edit" on Microsoft Docs

* v
* t
* e

Windows command-line programs and shell builtins

Ecosystem|

| Interpreters|

* COMMAND.COM
* Command Prompt
* PowerShell
* Recovery Console

|

Terminals|

* Windows Console
* Windows Terminal

File system navigation|

* cd (chdir)
* dir
* popd
* pushd
* tree

File management|

* attrib
* cacls
* cipher
* compact
* copy
* del (erase)
* deltree
* icacls
* mkdir (md)
* mklink
* move
* openfiles
* recover
* ren (rename)
* replace
* rmdir (rd)
* robocopy
* takeown
* xcopy

Archiving|

* expand
* extrac32
* extract
* makecab
* pax
* tar

Disk management|

* chkdsk
* convert
* defrag
* diskcomp
* diskcopy
* diskpart
* diskraid
* diskshadow
* drvspace
* fdisk
* format
* fsutil
* label
* manage-bde
* MSCDEX
* refsutil
* subst
* scandisk
* sys
* vol
* vssadmin

Processes|

* at
* exit
* kill
* runas
* sc
* schtasks
* shutdown
* start
* taskkill
* tasklist

Registry|

* assoc
* ftype
* reg
* regini
* regsvr32

User environment|

* chcp
* cmdkey
* date
* graftabl
* mode
* path
* set
* setver
* setx
* time
* title
* ver
* where
* whoami

File contents|

* comp
* edit
* edlin
* fc
* find
* findstr
* print
* type

Scripting|

* choice
* clip
* cscript
* doskey
* echo
* for
* forfiles
* goto
* if
* more
* pause
* prompt
* rem
* timeout

Networking|

* arp
* bitsadmin
* curl
* getmac
* hostname
* ipconfig
* nbtstat
* net
* netsh
* netstat
* nslookup
* PathPing
* ping
* rpcping
* route
* scp
* setspn
* sftp
* ssh
* ssh-add
* ssh-agent
* ssh-keygen
* ssh-keyscan
* tracert
* winrm
* winrs

Maintenance and care|

* auditpol
* dism
* dispdiag
* driverquery
* eventcreate
* eventtriggers
* gpresult
* gpupdate
* logman
* mofcomp
* msiexec
* ntbackup
* pentnt
* pnpunattend
* pnputil
* REAgentC
* relog
* sfc
* sxstrace
* systeminfo
* tpmtool
* tpmvscmgr
* tracerpt
* typeperf
* w32tm
* WBAdmin
* wecutil
* wevtutil
* winmgmt
* winsat
* wmic

Boot management|

* bcdedit
* bootcfg
* bootsect
* fixboot
* fixmbr

Software development|

* break
* debug
* exe2bin
* QBasic
* wsl

Miscellaneous|

* cls
* dpath
* help

* List of DOS commands
* Environment variables
* Windows Support Tools

*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template