CmdID

CmdID / Commands

edit

Starts the MS-DOS Editor, which creates and changes ASCII text files. Windows commands reference

On Windows, Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from the Windows commands reference, CC BY 4.0
edit [/b] [/h] [/r] [/s] [/<nnn>] [[<drive>:][<path>]<filename> [<filename2> [...]]
edit
edit newtextfile.txt
[<drive>:][<path>]<filename> [<filename2> [...]]Specifies the location and name of one or more ASCII text files. If the file doens't exist, MS-DOS Editor creates it. If the file exists, MS-DOS Editor opens it and displays its contents on the screen. The filename option can contain wildcard characters (* and ?). Separate multiple file names with spaces.
/bForces monochrome mode, so that MS-DOS Editor displays in black and white.
/hDisplays the maximum number of lines possible for the current monitor.
/rLoads file(s) in read-only mode.
/sForces the use of short filenames.
<nnn>Loads binary file(s), wrapping lines to nnn characters wide.
/?Displays help at the command prompt.

Several platforms

from tldr-pages, CC BY 4.0

A terminal-based text editor from Microsoft.

Open a file

edit path/to/fileIdentify

Search for a pattern

<Ctrl f>pattern<Enter>

Find and replace a pattern

<Ctrl r>pattern<Enter>

Copy text

<Ctrl c>

Paste text

<Ctrl v>

Open the File menu

<Alt f>

Quit

<Ctrl q>

This command is an alias of run-mailcap --action=edit.