Good day, I have a .bat file that launches a specific application, and then after 5 seconds it will close / kill it.
I have it right now because he successfully opened the application, which, when opening the application, will not execute the rest of the commands if I do not close the application manually.
Here is my code:
cd "C:\Program Files (x86)\Aspera\Point-to-Point\bin\" asperascp.exe sleep 5 taskkill /IM asperascp.exe /f
I am also trying to remove the sleep
command.
cd "C:\Program Files (x86)\Aspera\Point-to-Point\bin\" asperascp.exe taskkill /IM asperascp.exe /f
But he will have the same conclusion that he will not execute the remaining commands when running asperascp.exe.
Any tips?
Thanks.
source share