Trinc-Prolog commandline arguments


Trinc-Prolog accepts a number of commandline options. Specifying commandline options is easy if a shortcut file to the executable file is used. A shortcut file contains a field in which the executable file is specified, a commandline option must be placed after the path of the executable file (separate the commandline options with one or more whitespace characters). For instance:

    c:\procl\tprocl32.exe -nolog -settings:u:\user\tb\settings.ini

Below there is a list of supported commandline options:

-nolog
If this option is specified no error notifications are stored in a log file.

-log:
The default log file for error notifications is called "msglog.txt" and it is created in the folder of the executable file of Trinc-Prolog. If this is not the desired location then a different location can be specified with this parameter. The location can be specified after "-log:", for example: "-log:c:\log.txt". If the location of the file contains any whitespace characters then the filename must be enclosed by double quote characters, for example: -log:"c:\This is my dir\prolog\log.txt".

-nosettings
If this option is specified on the commandline then no settings file is created or used by the application. The settings file is used for storing and retrieving various application settings.

-settings:
A specific settings file can be specified through this option. For instance: "-settings:c:\prj\logint\tprocl.ini". If the location of the file contains any whitespace characters then the complete filename must be enclosed with double quote characters. For example: -settings:c:\program files\pro.ini.

-nosplash
This option disables the showing of the splash screen when the Trinc-Prolog starts.

 

info@trinc-prolog.com