Edit command in Windows

The edit command starts MS-DOS Editor, creates and changes ASCII text files.

For an example of how to use this command, please see the example below.

Edit command syntax

 edit [/b] [/h] [/r] [/s] [/] [[:][] [ [.]] 

Parameters

ParametersDescription [:] [] [[.]] Specifies the location and name of one or more ASCII text files. If the file does not exist, MS-DOS Editor will create it. If the file exists, MS-DOS Editor will open it and display its contents on the screen. FileName may contain wildcards (* and?). Separate multiple file names with spaces. / b Forcing to use monochrome mode, makes MS-DOS Editor display only black and white. / h Displays the maximum number of lines possible for the current screen. / r Load file (s) in read-only mode (read only). / s Forced to use short file names. Load binary file (s), including lines to extend NNN characters. /? Show help at the command prompt.

Note

  1. For more help, open the MS-DOS Editor, and then press F1.
  2. Some screens do not support displaying shortcuts by default. If your screen does not display these shortcuts, use / b.

For example

To open the MS-DOS Editor, enter:

 edit 

To create and edit a file named newtextfile.txt in the current directory, enter:

 edit newtextfile.txt 

See more:

  1. Driverquery command in Windows
  2. The echo command in Windows
  3. The certutil command in Windows
4.3 ★ | 3 Vote

May be interested

  • Common Adobe Illustrator shortcutsPhoto of Common Adobe Illustrator shortcuts
    illustrator's processing level is higher than photoshop, so illustrator's shortcuts are much more than photoshop shortcuts. therefore, in order to work with fast speed and save time in the design process when using this software, users must definitely understand all the shortcuts in illustrator.
  • Reg command compare in WindowsPhoto of Reg command compare in Windows
    the command reg compare helps to compare the specified subkey or entry.
  • Endlocal command in WindowsPhoto of Endlocal command in Windows
    the endlocal command ends the localization of the environment changes in a batch file, and restores the environment variables to their original values ​​before the corresponding setlocal command is run.
  • Cmd command in WindowsPhoto of Cmd command in Windows
    the cmd command starts a new version of the command interpreter, cmd.exe. if used without parameters, cmd will display copyright information and the version of the operating system.
  • Reg command copy in WindowsPhoto of Reg command copy in Windows
    to copy an entry to the location specified on the local pc or the remote computer we will use the reg copy command. to learn more about how to use the reg copy command, you can track the syntax, explain the command parameters and the example tipsmake.com has compiled below.
  • What is Catalyst Control Center (CCC.exe)?Photo of What is Catalyst Control Center (CCC.exe)?
    catalyst control center is a utility that comes with drivers, which helps amd graphics cards work. it appears as ccc.exe in the user's task manager and in most cases, you will never have to worry about this.