Jump to content

Shut down via batch file


Aesirkin
 Share

Recommended Posts

Thanks.  I considered that option.  However, I'm familiar and comfortable with batch files, and I was hoping to avoid adding any unnecessary software to the server as every time I add something it drops my benchmarks noticeably.  So I figured if it's possible to do at the command line I'd try that route first.

Link to comment
Share on other sites

taskkill is definitely the wrong way IMHO.

 

I use the "expect" tool on linux to connect to the telnet port and issue the shutdown command there. It seems there are equivalent tools to "expect" for windows as well, search for "expect windows"

 

 

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...