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 (monochrome) 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 / FDAUTO.BAT.
  EDIT has a comprehensive help system built in.
  EDIT offers features like a Calendar and the ASCII Table.
  EDIT cannot open files greater than 64k in size.
  EDIT supports mouse as it has a user interface. You can also enter the
  menu with ALT - red marked character key in the menu.
    For more information about EDIT see:
    https://gitlab.com/FreeDOS/base/edit-freedos/-/blob/master/
    SOURCE/EDIT/EDIT.TXT
  There are many other DOS editors available, see:
    https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/edit/
  OR:
    https://gitlab.com/FreeDOS/editor

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/fdauto.bat
  config.sys/fdconfig.sys
  edlin
  freemacs
  ospedit

  Copyright © 1998 Jim Hall, updated 2007 and 2022 by W. Spiegl.

  This file is derived from the FreeDOS Spec Command HOWTO.
  See the file H2Cpying for copying conditions.