Command Line


Using Verifika from command line

The application supports four independent command line modes:

  1. Project opening mode.
  2. Report creation mode.
  3. Automatic check performing mode.
  4. Opening application with specific files and profile.
  1. Project opening mode

    Project opening mode is enabled if command line arguments contain the option (-o, /o). If the application finds the aforementioned option in the list of command line arguments, the application starts and the chosen project is opened automatically. All other command line options are ignored.

  2. Report creation mode

    This mode is available under LSP licenses only. The following options are supported:

    • -files, /files
    • -profile, /profile
    • -type, /type
    • -result, /result
    • -log, /log

    The options -files and -result are mandatory. If one or more non-mandatory options are not specified by a user (-profile, -type, -log), the application uses them with their default values.

  3. Automatic check performing mode

    Automatic check performing mode launches Verifika with the files and profile you choose (or with the default profile), performs the check and opens a report that is available for editing.
    This mode is available under LSP licenses only. It performs only if the conditions for previous two modes are not satisfied.
    Automatic check performing mode is enabled if command line arguments contain the options -files, /files and -profile, /profile. The option -profile, /profile is mandatory. If you do not specify an option, the application uses the default profile.
    The following options are supported:

    • -files, /files
    • -profile, /profile
    • -log, /log
  4. Opening application with specific files and profile

    Application opening mode launches Verifika with the files and/or profile you choose. The following options are supported:

    • -files, /files
    • -profile, /profile

    If the profile option is not specified by a user, the application uses the default profile.

Command line arguments

Option Value Description Use case
-o, /o A path to a project file Opens the specified project in Verifika. Verifika.exe -o C:\testProject.vproject
-files, /files A path to bilingual files Specifies the path to a bilingual file or to a folder containing bilingual files, which are to be checked in a command line mode. Verifika.exe -files C:\Testing\bl.ttx
Verifika.exe -files C:\Testing
-profile, /profile A path to a profile file Specifies the path to a profile file, which contains settings applied in checks of bilingual files. If this option is not specified, the standard profile is used. Verifika.exe /profile C:\MyProfiles\full.vprofile
-startcheck, /startcheck Whether the check should begin and the report should be shown after Verifika launched This option is responsible for starting the mode. There are no values for this parameter: if option is specified Verifika UI will be shown. Verifika.exe -startcheck
-type, /type Report type Allows selection of the type of a generated report.
Available types are: Common, Consistency, Terminology, Spelling, Custom, Full.
Verifika.exe /type Common
-result, /result A path to a generated report Specifies the path to a generated report location. Verifika.exe /result C:\Reports\FullReport.xls
-log, /log A path to a log file Specifies the path to a log file. A log file contains information on all the errors and other events, which might occur during report generation. If the option is not specified, a log file is not created. Verifika.exe -log C:\Reports\Logs\info.log

Default values of options

Option Default value
-profile Built-in standard profile
-type Full (a full error report is created)
-log A log file is not created

Both options and values of command line arguments are case-insensitive. You can specify options in random order and use both – and / prefixes.


<hr\>