Edlin: l (list)

Displays the block of consecutive lines that you specify. Used without parameters, l (list) displays up to one page, beginning 11 lines before the current line.

Syntax

l [line1][,line2]

Parameters

line1 : Specifies the first line you want Edlin.exe to display.

line2 : Specifies the last line you want Edlin.exe to display.

?: Displays a list of edlin subcommands.

Remarks

Windows XP does not use this command. It is accepted only for compatibility with MS-DOS files. 

This tool is not available on Windows XP 64-Bit Edition. 

Omitting parameter values

You can omit the line1 parameter, the line2 parameter, or both. The following list describes the default value or values for each of these cases:

If you omit the line1 parameter only, Edlin.exe displays up to one page (that is, a full screen of text) at a time, beginning 11 lines before the current line and ending with the line whose number is specified in line2. When you omit only line1, you must insert a comma as a placeholder.

If you omit the line2 parameter only, Edlin.exe displays up to one page, beginning with the line whose number is specified in line1.

If you use the l (list) subcommand with no parameters, Edlin.exe displays up to one page, beginning 11 lines before the current line. If you install the Ansi.sys device driver, the number of lines Edlin.exe displays per page depends on the type of monitor you have. This number might be greater than 24.

Working with large blocks of lines

When the block of lines you specify contains more than one page, Edlin.exe displays the first page and then prompts you with the following message:

Continue (Y/N)?

Edlin.exe displays one additional page each time you answer Yes to the prompt.

Examples

To see lines 5 through 10, type:

5,10l

Formatting legend

FormatMeaning

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

Edlin

Edlin subcommands

Command-line reference A-Z



© 2015 Microsoft Corporation. All rights reserved. Contact Us |Terms of Use |Trademarks |Privacy & Cookies