Jump to content
Sign in to follow this  
flow0815

[HOWTO] Kill command for specific arma3server.exe

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...