Using The Archive.exe Utility

The Archive.exe utility allows a File Integration Process (IP) to save a record of file for a specified number of days.

To use Archive.exe

  1. In Step 2 of the Add New Integration Process Wizard, add the following information in under Run this command AFTER the job runs:
  2. In Post job command, enter the full pathname of the archive.exe file.

    Note: The default pathname is C:\Program Files\Scribe\Utilities\Archive.exe

  3. In Post job parameters, enter the following:

    %Filename [ArchiveDir ] [LifeSpan] 

    Where:

If duplicate files are found in the Archive folder, they are numbered FileName.xml, FileName(1).xml FileName(2).xml and so on.

An error code of -1, which sends an error to the IP, is returned on all errors except file deletes. Archive.exe does not consider a failed delete an error.

Example:

If Insight is installed in C:\Program Files\Scribe, enter the following information in Step 2 of the Add New Integration Process Wizard to save the archive files in D:\Scribe Jobs\EventFiles\Archive for 60 days:

In Run this command AFTER the job runs:

Post job command:

Post job parameters:

%Filename "D:\Scribe Jobs\EventFiles\Archive" 60  

Note: Separate parameters with a space.

See also

Configuring an Integration Process

Integration Processes

Processing Commands