Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I launch Cassini Web Server from a command line or batch file?

Is there anyways to launch Cassini web server from a command line? The exe appears to be in this path, C:\Program Files (x86)\Common Files\microsoft shared\DevServer\10.0

I try to use the suggested parameters but it doesn't seem to work. Does anyone know of, or have a script that can accomplish this?

Thanks for any help or tips,
Cheers,
~ck in San Diego

like image 845
Hcabnettek Avatar asked Dec 28 '10 21:12

Hcabnettek


1 Answers

Example:

taskkill /F /IM WebDev.WebServer.exe

START /D “C:\Program Files\Common Files\microsoft shared\DevServer\9.0\” /B WebDev.WebServer.EXE /port:5002 /path:”d:\Projects\myproject\project.service” /vpath:”/Project.Service”

Check this out:

Starting Cassini manually

like image 102
Leniel Maccaferri Avatar answered Nov 13 '22 18:11

Leniel Maccaferri