Jump to content

[HOWTO] Kill command for specific arma3server.exe


flow0815

Recommended Posts

Hey guys,

 

maybe you can use this. I had the problem with running 2 arma3servers and some day i decided to have different restart cycles.

If you kill your arma3server.exe with taskkill, probably both servers are killed because only using "arma3server.exe" as kill value.

 

With this line you can kill a specific arma server. Just adjust the port as you need it. Was it does is, that it will find out which program id uses the specific port and kills the program. Tested and works fine.

 

WINDOWS VERSION of course ;)

FOR /F "tokens=4 delims= " %%P IN ('netstat -a -n -o ^| findstr :2302') DO taskkill /F /PID %%P

Cheers

 

Flow

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...