Command line parameters

The main executable file NetTime.exe accepts optional command line parameters. These can be useful to system administrators, and to other programs calling the program. For example, you can use the "-ntc" option to create multiple instances of the program.

-ast

Suppress the splash screen when start even if "Show splash screen on start" box is checked in the "Options" page on the "Main window".

-smp

Start the program in normal mode, if you don't specify the option, it will run in advanced mode.

Node:

For every mode, the changes of configuration are effective under all mode.

-prf <Profile file>

Customize path and filename of profile file to save window size and position, etc. By default, it's NetTime.prf and located in installation directory. If the path isn't specified, installation path will be used. If the profile file doesn't exists, it will be automatically created. Don't forget to use quotes if the filename or path contains spaces.

-ntc <Configuration file>

Customize the path and filename of configuration file. By default, it's NetTime.ntc and located in installation directory. If the path isn't specified, installation path will be used. If the configuration file doesn't exists, it will be automatically created with default settings. Don't forget to use quotes if the filename or path contains spaces.

Node:

You can left-double-clicking on a ".ntc" configuration file to start the Net Time Server & Client using it.

-log <Log file>

Customize the path and filename of log file to save log records. By default, it's NetTime.log and located in installation directory. If the path isn't specified, installation path will be used. If the log file doesn't exists, it will be automatically created. Don't forget to use quotes if the filename or path contains spaces.

-svl <Predefined source time servers file>

Customize the path and filename of predefined source time servers file. By default, it's NetTime.svl and located in installation directory. If the path isn't specified, installation path will be used. Don't forget to use quotes if the filename or path contains spaces.

o [-tsl <Time servers definition file>]

Open the "Predefined source time servers" window and import the time servers from time servers definition file. If the "-tsl" parameter and time servers definition file are not specified, only the "Predefined source time servers" window is opened. Also, you can combine with "-svl" parameter to customize the path and filename of predefined source time servers file. Don't forget to use quotes if the filename or path contains spaces.

Node:

Contents