PeterHing
asked on
Batch file to End Process
Hi All,
I have a Citrix Agent that appears to stop if the network connection is not available. It should come back to life when the network connection comes back, but sometimes it doesn't.
Is there a way using a batch file, that I can kill the process, then after say 5 seconds, re-load the agent (C:\Folder\MyFolder\agent. exe)?
Many Thanks,
Pete
I have a Citrix Agent that appears to stop if the network connection is not available. It should come back to life when the network connection comes back, but sometimes it doesn't.
Is there a way using a batch file, that I can kill the process, then after say 5 seconds, re-load the agent (C:\Folder\MyFolder\agent.
Many Thanks,
Pete
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
TaskKill /IM agent.exe
Ping 127.0.0.1 -n 5 >NUL
C:\Folder\MyFolder\agent.e