Command Line Arguments

Command line arguments allow you to change LoggerNet's default behavior when it is started from a shortcut.

Currently, there are threet command line arguments:

/WorkDir         Sets the working directory to something other than the default. Usage:

"C:\Program Files (x86)\CampbellSci\LoggerNet\ToolBar.exe" /WorkDir=C:\CampbellSci\test

where "C:\Program Files (x86)\CampbellSci\LoggerNet\ToolBar.exe" is the directory and filename for the LoggerNet Toolbar (which is the LoggerNet server) and C:\CampbellSci\test is the working directory to be used. Note that if there are multiple-word directories in the directory string, the entire string must be enclosed in quotation marks. For example, /WorkDir=”C:\CampbellSci\Working Dir”.

/M      Launches LoggerNet in a minimized state. Usage:

"C:\Program Files (x86)\CampbellSci\LoggerNet\ToolBar.exe" /m

/IPPORT=XXXXX        Causes the server to use port XXXXX for TCP/IP communications with clients. This is useful if some other software is using LoggerNet's default port of 6789. Usage:

"C:\Program Files (x86)\CampbellSci\LoggerNet\ToolBar.exe" /ipport=12345

NOTE: If you are running LoggerNet Admin, which requires that you log in to a particular server with each client, you must specify this alternate port number when entering the Server Address in the login window (e.g., LocalHost:6700, or 192.168.7.123:6700, or [2620:24:8080:8600:85a1:fcf2:2172:11bf]:6700).

NOTE: If LoggerNet is being run as a service (available in LoggerNet Admin/LoggerNet Remote), you must specify an alternate working directory or IP port using the LoggerNet Service Manager.