Batch Example for Host Mode on a Windows Server

If you run ButConnect from a batch file, it will listen on the client side and connect without any further interaction:

@echo off
:REPEAT
ButConnect.exe -x -i:client.key -r:5900 --user:<client_user> --link:<link> --code:<client_code>
ping -n 300 127.0.0.1 > NUL
GOTO :REPEAT