User's Guide for MS-DOS Clients
231
Basic Reference
Using UNIX System Commands
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
Microsoft TCP/IP, you can use the addname utility to access the resources
of a server that are on another TCP/IP network accessible through a network
gateway. The addname utility matches remote LAN Manager servernames
to their IP addresses.
The addname utility temporarily adds entries to your workstation’s
memory. These entries are deleted when you unload Microsoft 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 Microsoft 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
This command deletes all existing LMHOSTS entries before adding all entries
from A:\USER\MYHOSTS. If there are more than 63 entries in
A:\USER\MYHOSTS, an error occurs, and no changes are made to the list of
current entries.