------------------------- MS-DOS v6.22 Help: Edit --------------------------
<Notes>                                                            <Index>
----------------------------------------------------------------------------

                                    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.

                                      ***

<Syntax>
----------------------------------------------------------------------------

                                 EDIT--Note

Some monitors may not support the display of shortcut keys by default. If
your monitor does not display shortcut keys, use the /B switch (for CGA
monitors) and the /NOHI switch (for systems that do not support bold
characters).

                                      ***

----------------------------------------------------------------------------
<Top of page>
Last update: December 07, 2002 14:45 by
Content © 1997 Microsoft Corporation
All else © 2000-2005
Counter