如何在带有IP的LAN网络中使用消息/服务器:* / time“”

时间:2013-10-28 08:42:37

标签: cmd lan msg

我在cmd控制台的笔记本电脑中使用此命令:

msg /Server:mohammad * /Time:5 "The MSG"

但是如何将它与IP地址一起使用?

4 个答案:

答案 0 :(得分:5)

  • 打开注册表编辑器。
  • 在左窗格中,找到并单击以下注册表子项HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server
  • 在右侧窗格中,确保AllowRemoteRPC键的值为1
    • 如果没有,请将其更改为1
  • 退出注册表编辑器并重新启动计算机。
  • 在提升的CMD窗口中运行MSG命令。

答案 1 :(得分:4)

命令 msg * /SERVER:192.168.1.107 为我工作

答案 2 :(得分:-1)

MSG /SERVER:192.168.1.1 / TIME:05 * HELLO WORLD

/时间:05-秒显示信息  *-机器用户,如果您不知道使用*  192.168.1.1-目的地用户名或IP

来自IP 192.168.1.1的用户收到文本:HELLO WORLD ---->查看打印屏幕

SEE PRINT SCREEN

答案 3 :(得分:-4)

你可以用:

1. goto cmd prompt 

2. type syntax as follows 

net send ipaddress of reciever "message to be send" 

ex: net send 192.168.0.1 "hello"
OR
MSG * /SERVER:192.168.1.1 Hello

(net send is not available in windows7*)