Batch files : How to leave the console window open

后端 未结 9 1177
星月不相逢
星月不相逢 2020-12-04 16:16

I have two batch files, one of them executes another, i.e.

  1. \"My Batch File\" > 2. \"Some Other Batch File\"

I\'ve created a shortcut of the firs

9条回答
  •  臣服心动
    2020-12-04 16:42

    For leaving the console window open you only have to add to the last command line in the batch file:

    ' & pause'
    

提交回复
热议问题