Starts MS-DOS Editor, which creates and changes ASCII text files. Used without parameters, edit starts MS-DOS Editor.
edit [[Drive:][Path] FileName] [/b] [/g] [/h] [/nohi]
[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. Use this command-line option if a monochrome monitor does not display MS-DOS Editor correctly.
/g : Uses the fastest screen updating possible for a CGA monitor.
/h : Displays the maximum number of lines possible for the current monitor.
/nohi : Enables you to use eight-color monitors with MS-DOS Editor. Typically, Windows XP uses 16 colors.
/?: Displays help at the command prompt.
| • | Windows XP does not use this command. It is accepted only for compatibility with MS-DOS files. |
| • | Some monitors might not support the display of shortcut keys by default. If your monitor does not display shortcut keys, use /b (for CGA monitors) and /nohi (for systems that do not support bold characters). |
| Format | Meaning |
Italic | Information that the user must supply |
Bold | Elements that the user must type exactly as shown |
Ellipsis (...) | Parameter that can be repeated several times in a command line |
Between brackets ([]) | Optional items |
Between braces ({}); choices separated by pipe (|). Example: {even|odd} | Set of choices from which the user must choose only one |
Courier font | Code or program output |