How can I make my commands run in NppExec run in cmd, as opposed to the built in console, which doesn’t work with things like: “Press any key to continue”, which only works when you press enter?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You want to take a look at cmd /? output and http://ss64.com/nt/. Using
startalong withcmd /cwill give an external window and usingcmd /kwill keep it in the nppexec console. One thing I don’t like about the/koption is that it really isn’t true as ‘any key’ doesn’t do the trick and Enter needs to be used.Test it out with
cmd /k pauseandstart cmd /c pause.Notice the
startoption has the window close, so any history will go away too. If that’s important then substitute/kfor the/cand useexitwhen done.