Windows – Create a new cmd.exe window from within another cmd.exe prompt

cmdcommand linewindows

I am in the process of setting up CruiseControl.NET. The problem I am having is that I am running CC as a console application and when my build completes successfully and executes (using exec) it launches it within the CruiseControl DOS prompt. I am just using simple batch files to launch my app but having it run within the same prompt as CC is causing CC to think the build continues as long as my app runs.

Are there command line parameters to cmd.exe that will spawn another separate prompt window?

Best Answer

I think this works:

start cmd.exe
Related Topic