go to Vidar Dicom Viewer page

Launching the Application via Command Line and URL Protocol

The application can be quickly launched in various operating modes via the command line and URL protocol

Launching the Application Using Command Line Arguments

If the application is installed in the "C:\Program Files\POVIDAR\VdViewer3" directory, the command will be: C:\Program Files\POVIDAR\VdViewer3\vdviewer.exe <LIST OF ARGUMENTS> All arguments are separated from their values by spaces
Full list of arguments: The pacs argument has priority for establishing a connection
If it is specified, the program will ignore other connection setting arguments (ip, port, aet, aec, url, urlWado)
The arguments ip, port, aet and aec set parameters for connecting to the PACS via classic DICOM methods
In this case, the find argument with the value qido-rs and the get argument with the values wado-rs or wado-uri will be considered erroneous, the program will issue a warning and will not start the import
The arguments url and urlWado set parameters for connecting to the PACS via DICOMweb methods
In this case, the find argument with the value cfind and the get argument with the values cget or cmove will be considered erroneous, the program will issue a warning and will not start the import
When all parameters (ip, port, aet, aec, url, urlWado) are specified, the program will work with the PACS in mixed mode: both DICOMweb methods and classic DICOM methods are available
If one of the TCP configuration parameters (ip, port, aet, aec) or DICOMweb configuration parameters (url, urlWado) is omitted, the first PACS configuration in the list will be selected
If none of the PACS connection methods is specified, the first PACS configuration in the list will be selected
If the PACS configuration is set explicitly (via arguments ip, port, url, etc.), the program will save this configuration if it is unique (does not already exist), and also if the connection test is successful

Examples of Using Command Line Arguments

Launching the Application via URL Protocol

This functionality can be launched via a URL scheme of the following format:
vdviewer3://api?<ARGUMENT>=<VALUE>&<ARGUMENT>=<VALUE>&<ARGUMENT>=<VALUE>

The arguments are the same as when launching from the command line, and the values follow the same rules as when launching from the command line

Possible launch examples are provided:

This functionality is implemented for convenient program launch from a browser

Launching in DICOM File Integrity Check Mode

It is possible to launch the program in a mode to check specified files
If the file check result is positive, it can be stated that this file will be opened successfully
The following check result codes are provided:

Checking a Single File

vdviewer -checkdcm input_file_path [output_image_path]
If the output_image_path parameter is specified, the resulting image will be saved in this file

Checking All Files in a Folder

vdviewer -checkdcmfolder input_folder_path
When the first bad file is found, execution will be terminated with the corresponding error code returned

Checking All Files According to a List in the Specified Input File

vdviewer -checkdcmtask input_task_file_path
A file named input_task_file_path_out will be created, into which file paths will be written when their check begins
When the first bad file is found, execution will be terminated with the corresponding error code returned, and in the input_task_file_path_out file, this file will be the last one

Loading DICOM from a File, Folder, Zip Archive

The path to the file/folder/archive must be specified as a command line argument
See also:
Vidar Dicom Viewer Help 3.0, © 2026 PO Vidar