Hi guys,

i would like to ask that is there any way to check whether an process is ended by using batch scripting? i want to start another program B only when the program A is ended.. Any reply would be appreciated, thank you and have a nice day.

Is the process doing the waiting for A to end, the one that started A in the first place?

Just use the wait command, if it is.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.