|
Net send
Sends messages to other users, computers, or messaging names on the
network.
Syntax
net send
{name | * | /domain[:name] |
/users} message
Parameters
- name
- Specifies the user name, computer name, or messaging name to which you
want to send the message. If the information that you supply contains
spaces, use quotation marks around the text (for example, "Computer Name").
Long user names might cause problems when you use them as NetBIOS names.
NetBIOS names are limited to 16 characters, and the sixteenth character is
reserved.
- *
- Sends the message to all the names in your domain or workgroup.
- /domain:name
- Sends the message to all the names in the computer's domain. You can
specify name to send the message to all the names in the specified
domain or workgroup.
- /users
- Sends the message to all users connected to the server.
- message
- Required. Specifies the text of the message.
- net help command
- Displays help for the specified net command.
Remarks
- You can send a message only to a name that is active on the network.
If you send the message to a user name, that user must be logged on and
running the Messenger service to receive the message.
- You can broadcast a message to all of the names in your computer's
domain (use * or /domain), or a different domain (/domain:DomainName).
Broadcast messages can contain up to 128 characters. Use discretion when
you send messages to multiple users.
- /users lets you send a message to all users who have sessions
with the server. Use discretion when you send messages to multiple users.
- The Messenger service must be running for messages to be received. For
more information about how to start a service, see Related Topics.
Examples
To send the message "Meeting changed to 3 P.M. Same place." to the user
robertf, type:
net send robertf Meeting changed to 3 P.M. Same place.
To send a message to all users connected to the server, type:
net send /users This server will shut down in 5 minutes.
To send a message that includes a slash mark (/), type:
net send robertf "Format your disk with FORMAT /4"
Formatting legend
Format |
Meaning |
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 |
|