Windows [cmd.exe] command to display a messagebox with timeout?

前端 未结 4 1294
刺人心
刺人心 2021-02-05 14:35

Note: This is a question-with-answer in order to document a technique that others might find useful, and in order to perhaps become aware of others’

4条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-05 15:19

    What if you create a small VBScript with the message you want to display? I.e. create e file, named "Message.vbs" with the content:

    MsgBox "Some info here", 0, "Message Title"

    and call it like this:

    cscript.exe PATH\Message.vbs

提交回复
热议问题