Run XML Maintenance

You can run XML Maintenance using Command Prompt or automate it.

Run XML Maintenance from the Command Prompt

  1. Go to Start > Windows System > Command Prompt. (In Windows 10)
  2. Enter the location of the eimngr.exe file followed by the command line parameter /X or /x.

    For example: C:\Program Files\ReadSoft\INVOICES\Bin\eimngr.exe /X.

    The following result codes are returned in the Command Prompt:

    • 0: XML Maintenance executed successfully with no errors.
    • 1: XML Maintenance executed with minor errors or warnings.

You can use these result codes to provide notifications if you create a BAT file to run the script (C:\Program Files\ReadSoft\INVOICES\Bin\eimngr.exe /X).

Automate XML Maintenance

You can create a schedule in Windows Task Scheduler to start and stop XML Maintenance service for a defined time. Task Scheduler restarts the service automatically when the service is stopped unexpectedly during the schedule.

To create a schedule, go to Start > Windows System > Control Panel > Administrative Tools > Task Scheduler. For more information about how to create a schedule, refer to Microsoft support.

You can use the script in the Task Scheduler to invoke XML Maintenance. For example, C:\Program Files\ReadSoft\INVOICES\Bin\eimngr.exe /X.