Answer the question
In order to leave comments, you need to log in
With what parameter should I run the command so that it does not close?
With what parameter (key, etc.) can you run the program from Win + R without opening the command line manually so that it does not close after execution, on the Internet they write to put the pause or T parameter at the end, etc. I tried everything, it still starts, and immediately closes after execution
Answer the question
In order to leave comments, you need to log in
Each program has its own parameters and pause
most do not, and if there is, then it can mean anything. To prevent the console window from closing immediately after the console application ends, call it with cmd.exe
, supplementing with the command pause
:
— the window will be closed after pressing any key .
cmd /c ipconfig -all& pause
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question