(0) exportieren Drucken
Alle erweitern
Arp
At
Cd
Cls
Cmd
Del
Dir
Fc
For
Ftp
If
Ldp
Lpq
Lpr
Md
Mmc
Msg
Nlb
Rcp
Rd
Reg
Rem
Ren
Rsh
Rsm
Rss
Sc
Set
Sfc
Ver
Vol
Erweitern Minimieren

Edit

Letzte Aktualisierung: September 2007

Betrifft: Windows Server 2008

Starts MS-DOS Editor, which creates and changes ASCII text files.

For examples of how to use this command, see Examples.

Syntax

edit [/b] [/h] [/r] [/s] [/<NNN>] [[<Drive>:][<Path>]<FileName> [<FileName2> [...]]

Parameters

 

Parameter Description

[<Drive>:][<Path>]<FileName> [<FileName2> [...]]

Specifies the location and name of one or more ASCII text files. 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. FileName can contain wildcard characters (* and ?). Separate multiple file names with spaces.

/b

Forces monochrome mode, so that MS-DOS Editor displays in black and white.

/h

Displays the maximum number of lines possible for the current monitor.

/r

Loads file(s) in read-only mode.

/s

Forces the use of short filenames.

<NNN>

Loads binary file(s), wrapping lines to NNN characters wide.

/?

Displays help at the command prompt.

Remarks

  • For additional help, open MS-DOS Editor, and then press the F1 key.

  • Some monitors do not support the display of shortcut keys by default. If your monitor does not display shortcut keys, use /b.

Examples

To open MS-DOS Editor, type:

edit

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

edit newtextfile.txt
Fanden Sie dies hilfreich?
(1500 verbleibende Zeichen)
Vielen Dank für Ihr Feedback.

Community-Beiträge

HINZUFÜGEN
Microsoft führt eine Onlineumfrage durch, um Ihre Meinung zur MSDN-Website zu erfahren. Wenn Sie sich zur Teilnahme entscheiden, wird Ihnen die Onlineumfrage angezeigt, sobald Sie die MSDN-Website verlassen.

Möchten Sie an der Umfrage teilnehmen?
Anzeigen:
© 2014 Microsoft