Command line arguments associated with file import
- Last UpdatedJul 25, 2025
- 2 minute read
There are a number of arguments associated with the MeasFileImport tool. They allow you to run tasks and stipulate the rules for how the MeasFileImport task should be performed.
Note: You need to install and configure the MeasDataProtector setup prior to using file import.
Consider the following example of how individual arguments may be issued together on the command line:
MeasFileImport.exe -T ALARM_PARSE_COMPLETE_OFF -S <DATABASE> -v 3 -s 120

Note: Before running any of these arguments, you will need to navigate to the bin directory where the software is installed ($env:DNAInstallRoot\MeasurementAdvisor\bin) to ensure you are in the right location.
|
Argument |
Use case |
|---|---|
|
-h |
Display basic information about the command line arguments. |
|
-v |
Defines the level of debug information associated with the arguments.
|
|
-d |
Provide the database where the file import information is stored. This defaults to EFM and does not need to be specified. |
|
-S |
|
|
-t |
Provides a time period after which any query run during the operation will timeout. |
|
-T |
Provides the name of the file import task you wish to run to import the associated files. This is a required argument. You may enter the task names individually, or you may enter MeasFileImport.exe -T ALL to run all of the File Import tasks listed in the File Import Summary window. If the file name contains spaces, then the file name entered must be wrapped in double quotes. |
|
-r |
Running the File Import task with the -r option imports the files without maintaining a record of the fact that it was retrieved. This means that there will be no audit trail recorded. |
|
-c |
Overrides the default retrieval criteria for the File Import task. Rather than being time based, it will gather all file import tasks meeting the criteria. |
|
-l |
Delete the archived files that exceed the retention period, while simultaneously performing the File Import task. |
|
-L |
Delete the archived files that exceed the retention period, without performing the File Import task. |