M
M
Mishka_Sev2020-09-14 21:55:09
cmd/bat
Mishka_Sev, 2020-09-14 21:55:09

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 execution5f5fbc7f695a0425865892.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
wisgest, 2020-09-14
@Mishka_Sev

Each program has its own parameters and pausemost 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 question

Ask a Question

731 491 924 answers to any question