Jump to content

Can console commands be commanded by BAT files?


mitou3100
 Share

Recommended Posts

I use a command line rcon tool to send shutdown messages and save and exit commands from a bat file.

set pwd=my_admin_password
set rconport=27070
\ArkTools\rcon\rcon 192.168.1.10 %rconport% %pwd% serverchat System is rebooting in 10 minutes
timeout 600
\ArkTools\rcon\rcon 192.168.1.10 %rconport%%pwd% saveworld
timeout 4
\ArkTools\rcon\rcon 192.168.1.10 %rconport% %pwd% doexit
timeout 2

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
 Share

×
×
  • Create New...