0
我写一个窗口批处理文件做以下的事情:如何启动Web服务器并在完成时将浏览器指向它?
- 显示在屏幕中间的照片,我的软件的漂亮的图标。
- 踢网络服务器的启动。
- 完成显示图片。
- 将浏览器指向开始页面。
我已经知道如何做到这一点在步骤2和4。但是,我在写Windows批处理文件中的以下问题: 1.我怎么知道,本次推出的Web服务器的结束,以码头为例? 2.如何显示图片并在我想要时停止显示?
这是我到目前为止有:
::here I would like to display the picture
start javaw -jar start.jar ::Starting jetty here
::here I would like to stop displaying the picture
start http://localhost:8080/myApp ::Pointing the browser to the page
预先感谢您的帮助。
谢谢。这是一个很好的答案。 – 2010-05-03 04:13:58