The XDB Client Batch Options command, BOPT40N, is a batch version of the XDB Client Options utility, XOPT40N.
You can use BOPT40N to modify the options in the xdb.ini file in batch. The syntax of the command is as follows:
Section, Variable and Value indicate a section in xdb.ini, a variable in that section and the value you want to set the variable to.
bopt40n "/pConnection MYSERVER.CurrentLocation=MYLOC"