The StartAsServer.cmd file starts DNA Baser with the 'SERVER' parameter. This will start a server instance and display for 300
seconds a window that will inform you that the program is working in server mode.
There are several alternative forms of the SERVER command-line option. You can ignore them for the moment. They are not strictly necessary:
- You can use a number after the SERVER parameter (with no spaces, i.e. SERVER10) to override the default delay before the window disappears. The number that you specify will tell
the program how long (in seconds) to display the window; for example, SERVER0 will start up the server without showing the window at all.
- You can use SERVERX to start it up without a timeout, so that the window will remain on the screen until the user dismisses it.
- You can use SERVERDOWN to shut down the server.
You can enter the SERVER parameter in three ways. Choose the one that is the most convenient for you. We recommend c):
a) Use it as command-line parameter in a DOS box.
The command line is this (please include the quotes and the spaces):
"c:\DNA Baser\DNA Baser v2.exe" SERVER or just "DNA Baser v2.exe" SERVER if you are already
in DNA Baser's folder.
b) Create a link to DNA Baser.exe on your desktop and modify it by adding the SERVER REGISTER parameter to it.
c) Double click the StartAsServer.cmd script file that we included in DNA Baser Network package. You can even make a shortcut to it on your desktop or in the "Start Up" folder
to have DNA Baser Server started as server at Windows start up.
Notes:
The SERVER command must be the first one on the command line.
The user receives a single key for this type of license.
You must use this parameter every time you want to start DNA Baser in "server" mode.
All users must be using the same version of DNA Baser as the server!
Up to 255 clients can connect to the server at the same time.
There can only be one server instance at a time; if a second server instance is started, you should be informed that a server is already running, then the program will exit.