I
I
Igor2018-11-29 14:12:52
Command line
Igor, 2018-11-29 14:12:52

How to configure Windows so that console application windows do not close after work?

Interested in the case when the application is not launched from the console .
I would like the window with the completed application to hang with the active working cmd (ideally), or just show the last output of the program (also good).
This should work for .bat files too, without editing them.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yan, 2018-11-29
@hddn

for bat/cmd
at the end of the line (at the very bottom separately) enter pause or @pause
like

ping 8.8.8.8
pause
View
5bffcd06c3ec2340039418.jpeg

Here's another solution
Put con emu
Replace the standard cmd in the settings (integration)
Rejoice

P
Pavel, 2018-11-29
@electronik777

run in console withcmd /k команда

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question