cmd命令行弹出提示消息的几种方法备忘

msg %username% /time:10 "要显示的内容"
mshta vbscript:msgbox("要显示的内容",64,"要显示的标题")(window.close)
mshta vbscript:CreateObject("Wscript.Shell").popup("要显示的内容",7,"要显示的标题",64)(window.close)
mshta "javascript:new ActiveXObject('WScript.Shell').popup('要显示的内容',7,'要显示的标题',64);window.close();"
msg  /server:192.168.0.101 * "haha"

转自:https://blog.csdn.net/annita2019/article/details/122162744

posted on 2023-01-16 23:33  空明流光  阅读(2283)  评论(0编辑  收藏  举报

导航