Use of Subfolders and File Name Prefixes

If File_Name element or File_Name_Prefix are not modified when copying and using the sample parameter file, the input file to process would need to be placed in the ‘1PP’ directory. Also, all the output files would be saved in the same location. Not an ideal situation, since as files are removed from this folder, files required to run 1-PASS Prep (1PP) could be accidentally deleted.

Here are couple ways to keep files separated/organized:

  1. Subfolders can be created for input files and output files, if using the sample XML provided, make sure to change the paths. For example, if a subfolder called ‘Input’ is created, then after ‘./’ add ‘Input/’.

    For example:

    <File_Name>./Input/Test_Data.csv</File_Name>
  1. Another option available in the XML Parameter file is the use of a prefix for output file names, plus setting the path of where the output should go.

    Assume there is a subfolder called ‘Output’ in the ‘1PP’ directory where the outputted address file, pallet placards etc. are saved. Also, to prevent existing files from being overwritten, when a new input file is run it is given a file name prefix.

    In this example, all the outputted files will start with “Job-123456”:

    <File_Name_Prefix>./Output/Job-123456_</File_Name_Prefix>

    When the path is set within the File_Name_Prefix element, then there is no need to add the path to all the various reports requested, unless there is a need to save them to a different location.

    If using Option 2, don’t put the path in the Output File’s File_Name element. It is already set in the File_Name_Prefix element.

Continue Defining Job Parameters - Mailing Attributes & File Naming Prefix

See also