The datafilesuffix option defines the string to append to data file names. It can be used to define the default data file extension. The file extension is considered by FairCom RTG to be part of the file name. If you want to override the "suffix", use the datafilesuffix configuration option.
If not specified, the default data file extension is .dat.
Any string is accepted. Make sure your operating system's file system accepts the value you specify.
Please remember to specify the "." (dot) if you want to use this as part of your file extension.
If you want your files to be created with no file extension, you can leave the datafilesuffix empty or set it to a SPACE character as follows:
<datafilesuffix> </datafilesuffix>
or
<datafilesuffix></datafilesuffix>
Example 1:
<datafilesuffix>.cdt</datafilesuffix>
Example 2:
This example removes the extensions .cdt and .cap by mapping them to an empty <name></name>:
<file name="*.cdt">
<datafilesuffix>.CAD</datafilesuffix>
<map><name></name></map>
</file>
<file name="*.IND">
<datafilesuffix>.cap</datafilesuffix>
<map><name></name></map>
</file>
Attributes
Attribute |
Description |
Default |
---|---|---|
append |
Boolean that defines if the file extension should be appended to the file name. If true, the specified data file suffix is appended to the data file name regardless of whether the data file name already ends with the specified data file suffix. If false, the data file suffix is appended only if the file name does not end with the specified data file suffix. |
true |
casesensitive |
Boolean that defines if checking the end of the data file name for the data file suffix should be case sensitive. This is only meaningful if <datafilesuffix append> is false. If true, the check is case sensitive. If false, the check is not case sensitive. |
false |