acserverctl for Windows

AccuRev includes a utility for controlling the operation of the AccuRev Server and Database Server on *NIX machines via a file called acserverctl.  This script, run from a terminal window, allows you to start and stop these services, as well as check on their status.  Being the power command line user that I am, I got tired of trying to use this same command while in a CMD window in Windows, so I set about reproducing it via a batch file. Yes, I can open the Services Window to manage things, but I wanted something I could run from the command line rather than opening another window.  The results, which you can download in Files section, is acserverctl.bat. All I can say, is wow, has DOS batch files come a long way.  When did they add functions that accept parameters? Very useful.

Using acserverctl.bat is simple. After downloading, place the file somewhere on your PATH so it is available, I like to use the AccuRev server bin folder, which also needs to be on the PATH.

Type acserverctl to see the command line argument options.

Lastly, this is to be taken as is.  I've been using it for several months now, tweaking it as I find issues. If you're a power CLI user like myself, you might want to add this to your tool kit.


Keith

acserverctl.zip