I have a batch file that starts an app with a lot of command-line parameters:
"C:Program Files (x86)Common FilesMicrosoft SharedDevServer11.0WebDev.WebServer40.exe" /port:1672 /path:"C:Code.NetMy AppIteration 6REL_6.8.806_PerfEnhanceVFusionCodeCC.FusionCC.Fusion.Services" /vpath:"/FusionServices"
The problem is that when I run the batch file, the DOS window stays up until the command completes and I would like it to go away. So I tried using the start
command, but placing it in front, like this:
start "C:Program Files (x86)Common FilesMicrosoft SharedDevServer11.0WebDev.WebServer40.exe" /port:1672 /path:"C:Code.NetMy AppIteration 6REL_6.8.806_PerfEnhanceVFusionCodeCC.FusionCC.Fusion.Services" /vpath:"/FusionServices"
But I get an error stating that Invalid switch - "/port:1672"
I have also tried escaping the double quotes, but I was not successful.
How do I fix that?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…