メッセージ ユーティリティ
msg
- C:\Windows\system32\msg.exe /?
Output:
ユーザーにメッセージを送信します。
MSG {ユーザー名 | セッション名 | セッション ID | @ファイル名 | *}
[/SERVER:サーバー名] [/TIME:秒] [/V] [/W] [メッセージ]
ユーザー名 送信先のユーザー名を指定します。
セッション名 セッション名を指定します。
セッションID セッション ID を指定します。
@ファイル名 メッセージの送信先一覧のファイル (ユーザー名、
セッション名、セッション ID) を指定します。
* 指定されたサーバーのすべてのセッションにメッセージを
送信します。
/SERVER:サーバー名 送信先のサーバーを指定します (既定値は現在のサーバー)。
/TIME:秒 受信者の確認応答までの待ち時間を指定します。
/V 実行中に詳細情報を表示します。
/W ユーザーからの応答を待ちます。通常 /V オプションと共に
指定します。
メッセージ 送信するメッセージを指定します。指定しない場合は、入力
プロンプトが表示されるか、または stdin から読み取ります。
Send a message to a user.
MSG {username | sessionname | sessionid | @filename | *}
[/SERVER:servername] [/TIME:seconds] [/V] [/W] [message]
username Identifies the specified username.
sessionname The name of the session.
sessionid The ID of the session.
@filename Identifies a file containing a list of usernames,
sessionnames, and sessionids to send the message to.
* Send message to all sessions on specified server.
/SERVER:servername server to contact (default is current).
/TIME:seconds Time delay to wait for receiver to acknowledge msg.
/V Display information about actions being performed.
/W Wait for response from user, useful with /V.
message Message to send. If none specified, prompts for it
or reads from stdin.
Return Code: 0
C:\Windows\system32\msg.exe
c:\>ver
Microsoft Windows [Version 10.0.19045.2075]
| File | Info |
|---|---|
| File Size | 27136bytes |
| Creation Time | 2019/12/07 18:10:22 |
| LastWrite Time | 2019/12/08 00:14:29 |
| ProductVersion | 10.0.19041.1889 |
| FileVersion | 10.0.19041.1889 (WinBuild.160101.0800) |
| Hash | Value |
|---|---|
| MD5 | b42553599e40029366a0fd8f81079bed |
| SHA1 | 81ee73e59c1d612700761cac931cd3013215dfb2 |
| SHA224 | f7a4049f0e5e6ef5c3f5ecf51595d253804ace34807ec78c7be0fde6 |
| SHA256 | 2bdab404df6e4990bc1fd8f7464dba325fb993c67e592ba1c5dc4f07c02a8e85 |
| SHA384 | d1bfda7690fc0a289275daa13edec0b75b3097b5e03f583f92ecd7269e582637189fe5d0828a72c2a08394fe26860b43 |
| SHA512 | 379226edd56b5bf109102be5fb3b340db92ae9e1b0db9baa2a21ebebc4e5a15c8e37e79e04167a4cdcc9f875f34f22c8d74ff7ae2bfbfeffd8d47697eb3c2b4c |