Example
This section gives an example showing how the command is used. In the 3 + Open MS OS/2 LAN Manager Administrator Guide, you were introduced to employees of a fictitious company, MacroCorp, Inc. The examples in this chapter use the names of MacroCorp employees.
See Also
This section lists the titles of commands and references to Chapter 2: LAN Manager Screen Reference that you can read for more information about this command.
Commands in This Manual
The following list shows the commands discussed in the remainder of this chapter and the function of each command.
NETCOMM
Controls and displays infonnation about shared communication-device queues.
Displays and changes the configuration of a netstation.
Continues local area network functions suspended by the NET PAUSE command.
Copies files both locally and via network.
Lists the most recent local area network errors and the times they occurred.
Reroutes one user's incoming messages to another user.
Displays infonnation about the purpose and use of LAN Manager commands.
Loads a saved confiKuration from a file.
Starts or stops saving messages to a file or printer.
Disconnects all local area network sessions and logs a user off the local area network.
Logs a user on to the local area network and sets the user name and password for the netstation.
Moves flies from one place to another on the local area network.
Displays the aliases currently defined in a computer's list of aliases, and adds or deletes aliases from that list.
Changes the password for logging on to a server.
Suspends the specified LAN Manager functions.
Displays and controls the contents of a shared printer's queue.
Runs a command locally or on a selVer.
Saves the current local area network configuration into a file for later use.
Sends messages and files to other users.
NET START Starts LAN Manager services. (See also infonnation on the NET START MESSENGER, NET START
NETPOPUP and NET START WORKSTATION commands.)
NET STATISTICS Displays and clears a server's list of usage statistics.
NET STOP Stops LAN Manager services.
NET USE Connects users to resources shared from a server.
NET VIEW Displays the computer names of servers and the resources being shared by any server.
NET
This command displays the LAN Manager Screen.
Syntax
( NET
)1---1
Comments
The LAN Manager Screen provides users access to all LAN Manager operations through menus and dialog boxes.
To learn more about the LAN Manager Screen, see Chapter 2: LAN Manager Screen Reference.
If the workstation service is not yet started, this command automatically starts it.
command at the OS/2 prompt:
net
The LAN Manager Screen appears.
See Also
For more information about this command, see the following sources:
• Chapter 2: LAN Manager Screen Reference, for a description of each LAN Manager Screen menu and dialog box.
• The3+0penMS OS/2 LAN Manager User Guide for how to use the LAN Manager Screen.
NETCOMM
This command displays information about shared communication-device queues, such as queues set up to share modems. It also lets you remove requests you own from a communication-device queue.
Syntax
NET COMM
\ \ computername
\\computername\sharename devicename
\ \computername
\sharename devicename /purge
Comments
queues you want information.
Specifies the shared resource about whose shared communication-device queues you want information.
Specifies the local device name that is redirected to the shared queue.
Cancels all outstanding requests from the netstation at a specified server, queue, or for a specified device name.
When you want to see information about shared communication-device queues for a specific server, type the NET COMM command with the \ \computername option.
For example:
net comm \ \mis
If you are using the 3+Open LAN Manager Entry System (referred to as the Entry Level LAN Manager in the rest of this chapter), the computer name must be Server.
Specifying the computer name of a server with the NET COMM command displays all the shared communication-device queues on that server:
Communication-device Queues at \\MIS Net Name
Command completed successfully.
This display presents four kinds of information:
Local Device Users Ahead
Users Waiting
The local device name that is connected to the shared communication-device queue.
The number of user requests ahead of yours in the
communication-device queue. This column has a number in it only if you are connected to a communication-device queue.
The number of user requests ahead of yours in the
communication-device queue. This column has a number in it only if you are connected to a communication-device queue.
If you would like information only about a particular communication-device queue, specify the server's computer name and the sharename of the queue. For example, you could type this command line:
net comm \\mis\modem
This type of command produces the same type of display as specifying just the name of the server. However, only the information about a specific queue is shown.
You can also specify the name of a local communication device to see information about the queue to which that device is redirected. For example, you could type:
net comm coml
A display like this one appears:
Communication-device Queues at \\MIS
Net Name Local Device Users Ahead Users waiting
MODEM coml 1 2
Command completed successfully.
queue shared by the \\printl selVer. (He used the command NET USE
com2\\printl\postscrp to do this.) To find out the status of that queue, Jack types the following command:
net comm com2
Jack could also fmd out the status of this queue by typing the following:
net comm \\printl\postscrp
Jack also wants to see the status of a communication-device queue \\mis\modem even though his netstation is not connected. He can get a report about that queue's status by typing this command:
net comm \\mis\modem