Home
> Commands A-M
> Commands E
EDIT
Description
| Syntax
| Parameters
| Switches
| Related
| Notes
| Examples
| Errorlevels
| Availability
A text editor you can use to create and
edit ASCII text files.
A full-screen editor that allows you to create,
edit, save, and print ASCII text files. You
can choose commands from menus and specify information and
preferences in dialog boxes. Includes extensive
online Help about techniques and commands.
CAUTION: May 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 may not be able to use the DOS Editor.
Syntax
EDIT
[[drive:][path]filename]
[/B]
[/G]
[/H]
[/NOHI]
[/nnn]
[/R]
[/S]
Parameters
- drive:
(v5.0
Win95
NT3.1)
- Specifies the location of an ASCII text file.
- path
(v5.0
Win95
NT3.1)
- Specifies the location of an ASCII text file.
- filename
(v5.0
Win95
NT3.1)
- Specifies the name of an ASCII text file. If the file does
not exist, DOS Editor creates it. If the file exists, DOS
Editor opens it and displays its contents on the screen.
Beginning with
v7.00 and
Win95 you may use
wildcards and multiple filespecs to load multiple file(s).
Switches
- /B
(v5.0
Win95
NT3.1)
- Displays DOS Editor in black and white. Use this option if
DOS Editor isn't displayed correctly on a monochrome
monitor.
- /G
(v5.0
NT3.1)
- Uses the fastest screen updating for a CGA monitor.
- /H
(v5.0
Win95
NT3.1)
- Displays the maximum number of lines possible for the monitor
you are using.
- /NOHI
(v5.0
NT3.1)
- Enables you to use 8-color monitors with DOS Editor.
Usually, DOS uses 16 colors.
- /nnn
(v7.00
Win95)
- Wraps after nnn characters (for binary files).
- /R
(v7.00
Win95)
- Load file(s) in read-only mode.
- /S
(v7.00
Win95)
- Force use of short (8dot3) filename(s).
Related
May use QBASIC.EXE.
Notes
Shortcuts
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).
Examples
none.
Errorlevels
none.
Availability
- External
-
- DOS
-
v5.0
v5.0A
v5.00.02
v5.001A
v5.01
v5.02
v6.0
v6.10
v6.2
v6.21
v6.22
v6.23
v7.00
v7.0R1
v7.10
v8.00
- Windows
-
Win95
Win98
WinME
- Windows NT
-
NT3.1
NT3.5
NT3.51
NT4
NT2000
Last Updated: 2006/12/01
Direct corrections or suggestions to:
Rick Lively