Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
EDIT
◄Note►
────────────────────────────────────────────────────────────────────────────
EDIT
Starts MS-DOS Editor, a text editor you can use to create and edit ASCII
text files.
MS-DOS Editor is a full-screen editor that allows you to create, edit, save,
and print ASCII text files. Using MS-DOS Editor, you can choose commands
from menus and specify information and preferences in dialog boxes. MS-DOS
Editor includes extensive online Help about MS-DOS Editor techniques and
commands.
Syntax
EDIT [[drive:][path]filename] [/B] [/G] [/H] [/NOHI]
Parameter
[drive:][path]filename
Specifies the location and name of an ASCII text file. If the file does
not exist, MS-DOS Editor creates it. If the file exists, MS-DOS Editor
opens it and displays its contents on the screen.
Switches
/B
Displays MS-DOS Editor in black and white. Use this option if MS-DOS
Editor isn't displayed correctly on a monochrome monitor.
/G
Uses the fastest screen updating for a CGA monitor.
/H
Displays the maximum number of lines possible for the monitor you are
using.
/NOHI
Enables you to use 8-color monitors with MS-DOS Editor. Usually, MS-DOS
uses 16 colors.
CAUTION: MS-DOS Editor does not work if the file QBASIC.EXE is not in the
current directory or in the search path or in the same directory
as the file EDIT.COM. If you delete QBASIC.EXE to save space on
your hard disk, you cannot use MS-DOS Editor.
♦