Skip to content

Command-Line Options ​

Each DICOM7 service is a console executable in the installation folder. Windows runs it as a service, but you can also start it from an administrator command prompt to watch its log output directly. Stop the matching Windows service first so the two copies do not compete for the same ports and cache.

cmd
cd "C:\Program Files\Flux Inc\DICOM7"
DICOM2ORM.exe

Press Ctrl+C to stop a service started from the console.

ExecutableService
DICOM2ORM.exeDICOM2ORM
DICOM2ORU.exeDICOM2ORU
ORM2DICOM.exeORM2DICOM
ORU2DICOM.exeORU2DICOM
ORU2REPORT.exeORU2REPORT
HL72HL7.exeHL72HL7

Options ​

OptionServicesDescription
--path <folder>AllUses <folder> as the service's data folder instead of %ProgramData%\Flux Inc\DICOM7\<SERVICE>\. The service reads config.yaml from this folder and writes its logs, templates, and default cache below it. The folder must already exist; if it does not, the service prints an error and exits with code 1.
--validate-configHL72HL7Loads and validates config.yaml, prints HL72HL7 configuration is valid: <path>, and exits with code 0 without starting the broker. If the configuration is invalid, the error is logged and the exit code is 1.

Examples ​

Run a second, isolated copy of ORM2DICOM against a test configuration:

cmd
mkdir C:\DICOM7-Test\ORM2DICOM
copy "%ProgramData%\Flux Inc\DICOM7\ORM2DICOM\config.yaml" C:\DICOM7-Test\ORM2DICOM\
ORM2DICOM.exe --path C:\DICOM7-Test\ORM2DICOM

Check an HL72HL7 configuration change before restarting the service:

cmd
"C:\Program Files\Flux Inc\DICOM7 HL72HL7 Broker\HL72HL7.exe" --path "C:\ProgramData\Flux Inc\DICOM7\HL72HL7" --validate-config
echo %ERRORLEVEL%

TIP

--path changes where a service looks for everything, including config.yaml. A relative Cache.Folder in the configuration is resolved against this folder.