Name

Msg — \windows\system32\msg.exe

Synopsis

Msg is used to send a text message to a single user or all currently logged-on users on any computer on your network. The message will appear as a pop-up message box. Msg accepts the following options:

msg recipient [/server:name] [/time:sec] [/v] [/w] [message]

Option

Description

message

The text message to send.

recipient

The username, session name, session ID, or filename to receive the message. Specify an asterisk (*) to send a message to all sessions on the specified server.

/server:name

Specify /server:name to send the message to users on another machine, where name is the name of a Terminal Server.

/time:sec

Indicates the amount of time, in seconds, to wait for the recipient to acknowledge the message being sent.

/v

Verbose mode; displays additional information.

/w

Wait for a response from the recipient, useful with /v.

Get Windows XP Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.