How do I keep the command window open? RRS feed

  • Question

  • I want to write a batch file that will leave the window open after running so I can see what the output is.

    I kind of remember having to use %k

    But I'm not sure exactly how to do it.

    UPDATE: I found what I was looking for, it's /k when you execute the command file.

    If anyone has any additional comments about scripting and keeping the command window open, please comment.

    • Edited by Jadiel Ortiz Sunday, October 26, 2014 6:48 PM Found Answer
    Sunday, October 26, 2014 6:41 PM


  • Add "pause" to the end of the batch.


    • Marked as answer by Jadiel Ortiz Sunday, October 26, 2014 8:13 PM
    Sunday, October 26, 2014 7:54 PM