Y
Y
Yan2019-06-15 23:35:38
cmd/bat
Yan, 2019-06-15 23:35:38

Automatically close a program after closing another on the command line?

How to run both programs through the command line is understandable
But how to make program B "wait" until program A ends in order
to end itself?
Who will tell you where to dig, what to read?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
wisgest, 2019-06-17
@Slayer_nn

start "" B.exe
start "" /wait A.exe
taskkill /im B.exe

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question