START "Server" %2 START "Client test" /WAIT %1 ; kill background server process taskkill /im %4 TIMEOUT /T 2