Edlin: t (transfer)

Merges the contents of a file on a disk with the contents of the file that is in memory.

Syntax

[line]t[Drive:][Path] FileName

Parameters

line : Specifies the line number before which you want to insert the file you are transferring from a disk. The default value is the number of the current line.

[Drive:][Path] FileName : Specifies the location and name of the file you want to insert before the line that you specify for line. Filename is required. The default value for Drive is the current drive, and the default value for Path is the current directory.

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. 

After Edlin.exe merges a file from a disk, you can use the l (list) subcommand at the * prompt to see the correctly renumbered lines.

Examples

To merge a file named Taxes.mem to line 12 of the file you are editing, type:

12t taxes.mem

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