InputFile

Top  Previous  Next

The InputFile section determines which file(s) you want the filter to scan.

 

<InputFile>

 <Name>

         See Values and Description

 </Name>

 <Delete>

         See Values and Description

 </Delete>

</InputFile>

 

Flag

Values and Description

Name

Values: Parameter or Static Input File Name

 

This tag determines the name(s) of the file(s) that you want the filter to modify.

Just to note, the value Parameter is literal and not figurative. To use this value, you'll want to use the text Parameter, including the capital P. When the filter is engaged by the pstproc.bat file, it is fed the file name being used by the filter. The Parameter value tells the filter that it should simply accept the file name as it was passed by the batch file.

 

Alternatively, you can specify a static file for input. For example, c:\PageGateData\Filter\winsck9000.log would tell the filter to only read from a specific file named winsck9000.log. As another example, you could specify c:\PageGateData\Filter\*.log and that would tell the filter to read all log files placed in the directory.

 

Delete

Values: True or False

 

This tag determines whether you want the filter to delete the input file when it has finished processing it.

If you do, set this tag to True. If you do not, set this tag to False.

 

 

As an important note, due to the way this script is programmed, certain characters are treated as command characters instead of literal text characters. The following characters represent certain command functions in the script:

Character

Function

~

~ as first character means start of section/file, ~ as last character means end of section/file. For example, ~123~ would only find 123 and not 01234 or 1237, etc. ~123 would find 12340 but would not find 01234. 123~ would find 0123 but would not find 01234.

?

Single character wildcard.

*

Multiple character wildcard.

\

IMPORTANT

ASCII value prefix (Ex: \013 for a carriage return, \010 for a line feed). The \ must be followed by a three digit code to indicate the character to be output.

 

This character is used when you want to represent a character as represented by its ASCII Decimal value. For example, since the filter directly references the character ~ in its function, if you want to use the ~ character in your text, you'll need to represent it with its ascii value. The ascii value of ~ is \126.