Edit
Starts MS-DOS Editor, which creates and changes ASCII text files.
edit [[drive:][path] filename] [/b] [/g] [/h] [/nohi]
Parameters
[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.
/b
Displays MS-DOS Editor in black and white. You use this option if MS-DOS Editor isn't displayed correctly on a monochrome monitor.
/g
Uses the fastest screen updating possible for a CGA monitor.
/h
Displays the maximum number of lines possible for the monitor you are using.
/nohi
Enables you to use eight-color monitors with MS-DOS Editor. Usually, Windows 2000 uses 16 colors.
Warning
- MS-DOS Editor does not work if the file Qbasic.exe is not in the current directory, 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.
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).