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

后端 未结 8 1191
萌比男神i
萌比男神i 2020-11-30 23:35

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 ex

8条回答
  •  借酒劲吻你
    2020-11-30 23:43

    START "notepad.exe"
    echo Will launch the notepad.exe application
    PAUSE
    

    To make any cmd file type, all you have to do is save the contents as .bat, i.e.

    @echo
    TITLE example.bat
    PAUSE
    taskkill/IM cmd.exe
    

    Make that into an "example.bat" file, save it, then open it and run.

提交回复
热议问题