Command: edit
EDIT is the FreeDOS text editor.
Syntax:
edit [/B][/I][/H][/R][/?] [[drive][path]file]
drive The drive letter, e.g. C:
path The directory, e.g. \example\
file The file, e.g. test.txt. Wildcards can be used here.
You can also open files within the program.
Options:
/B Use a black and white (mono) display.
/I Use inverse color scheme.
/H Use 43/50 lines on EGA/VGA (highest video/text resolution
available).
/R Open all files read-only.
/? Shows the help.
Comments:
An editor like EDIT can be used to create simple text files. It
can also be used to modify files like CONFIG.SYS / FDCONFIG.SYS
and AUTOEXEC.BAT.
EDIT has a comprehensive help system built in.
EDIT cannot currently open files greater than 64k in size.
Examples:
edit c:\example.txt opens c:\example.txt to write in it (file
example.txt must already exist)
edit c:\autoexec.bat
edit c:\fdconfig.sys
See also:
autoexec.bat
config.sys
edlin
freemacs
fdconfig.sys
ospedit
Copyright © 1998 Jim Hall, updated 2007 by W. Spiegl.
This file is derived from the FreeDOS Spec Command HOWTO.
See the file H2Cpying for copying conditions.