User's Guide for MS-DOS Clients

107
Enhanced Reference
Command and Utility Summary
configuration file, use addname /save after deleting the entry.
filename
Specifies the name of the file to load or save.
When you type addname with no options, the list of current addname
entries is displayed.
Comments
When your computer is configured as a LAN Manager workstation using
TCP/IP, you can use the addname utility to access the resources of a server
on another TCP/IP network accessible through a network gateway. The
addname utility matches remote servernames to their IP addresses.
The addname utility temporarily adds entries to your workstation’s
memory. These entries are deleted when you unload TCP/IP from memory
or when you restart your computer. To save the entries in the LMHOSTS
file, use the /save option.
The addname utility can be used only when the TCP/IP software and the
NetBIOS network software are loaded into your workstation’s memory. You
can add as many as four entries using addname.
Examples
To temporarily add the server FLAMINGO, whose IP address is 15.6.127.8, type:
addname flamingo 15.6.127.8
To see the list of current entries, type:
addname
To save the list of current entries in the LMHOSTS file, type:
addname /save
To delete the server FLAMINGO from the LMHOSTS file, type:
addname flamingo /delete
To load new entries from the file A:\USER\MYHOSTS, type:
addname /load a:\user\myhosts