bat 提示窗口
各种窗口样式
mshta vbscript:msgbox("内容1",1,"标题1")(window.close) mshta vbscript:msgbox("内容2",2,"标题2")(window.close) mshta vbscript:msgbox("内容3",3,"标题3")(window.close) mshta vbscript:msgbox("内容4",4,"标题4")(window.close) mshta vbscript:msgbox("内容5",5,"标题5")(window.close) mshta vbscript:msgbox("内容6",6,"标题6")(window.close)
这里只是一些提示窗口的样式,至于提示窗口的不同选择不同执行需要另外查看帮助
换行例子:
set msg="this is message. new line" mshta vbscript:msgbox(Replace(%msg%," ",vbCrLf),6,"标题6")(window.close)
注意:vbscript:后面语法之间不要加任何空格,不然会报错