发送一条消息在使用CMD指定计算机名和用户名的网络? [英] Send a message over network using cmd to specified PC name and username?

查看:274
本文介绍了发送一条消息在使用CMD指定计算机名和用户名的网络?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法在Windows 7将消息发送到另一台计算机的活动目录中?我知道主机名和用户名。如果有,我可以把它的地方,我没有启动电脑上的东西吗?谢谢!

Is there any way in Windows 7 to send a message to another computer within the active directory? I know the host name and username. And if there is, can I make it to where I don't have to start anything on the computer? Thanks!

推荐答案

您可以使用 msg.exe 。试着输入 msg.exe /?在命令提示符下。

You may be able to use msg.exe. Try typing msg.exe /? at the command prompt.

C:\>msg.exe /?
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.

这篇关于发送一条消息在使用CMD指定计算机名和用户名的网络?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆