I am trying to create a .bat file that starts the ASP.NET Dev Server outside of Visual Studio, and then opens the site in a browser. What I have so far does successfully start the Dev Server, but then it stops there and doesn't open the browser.
Here is what I have in my .bat file:
"C:\Program Files\Common Files\Microsoft Shared\DevServer\9.0\WebDev.WebServer.EXE" /port:4608 /path:"C:\Projects\a_project\Dev\path-to-site" /vpath:"/path-to-site"
start "http://localhost:4608/path-to-site/sitefinity"
Any ideas what is wrong with this? Thanks
UPDATE:
Based upon some of your answers I added the start /B to the first line and now neither the the web server or the browser open. I just get a new empty cmd prompt window. Here is the latest that is not working:
start /B "C:\Program Files\Common Files\Microsoft Shared\DevServer\9.0\WebDev.WebServer.EXE" /port:4608 /path:"C:\Projects\a_project\Dev\path-to-site" /vpath:"/path-to-site"
start "http://localhost:4608/path-to-site/sitefinity"
UPDATE 2:
I figured it out with help from you all and some trial and error. See the final solution below.