2
In the company that works we have an application called Socket developed in java to run files in the browser, but I need a bat to kill the process and close the icon of the application and start it again, but it does not accept to stay with 2 socket open, i managed to make it kill the process and start it again, but when it starts from the error of staying with two socket open, I need a bat to close the icon and when initialize open again, this icon is next to the taskbar next to the speaker, I hope I explained it correctly.
@echo off
taskkill /F /IM conhost.exe (nome do processo)
C:\SOCKET\ExecuteAppCaixa.jar (caminho para abrir)
pause
You use a file mechanism to not have two instances of SOCKET?
– Henrique Luiz