Previous Topic Next topic Print topic


FOLDER tag

Settings that apply to all files in a specific folder are listed under the FOLDER tag, for example:

Windows:

[FOLDER:C:\\files\\acufiles]
FILESUFFIX=dat
 
[FOLDER:C:\\files\\rmfiles]
IDXFORMAT=21

UNIX:

[FOLDER:usr/files/acufiles]
FILESUFFIX=dat
 
[FOLDER:C:/files/rmfiles]
IDXFORMAT=21

sets all files in c:\files\acufiles (Windows) or usr/files/acufiles (UNIX) that do not have a suffix to .dat, and all indexed files in c:\files\rmfiles (Windows) or usr/files/rmfiles (UNIX) to an IDXFORMAT of 21.

Note: When searching along a path, if a FOLDER tag exists for a stage, settings at that stage are applied, with any conflicting settings overwritten by a subsequent stage. Using the example above, if there was also a FOLDER tag for c:\files (Windows) or usr/files (UNIX) that sets IDXFORMAT 2, the subsequent setting of IDXFORMAT 21 would overwrite this.
Important: If you include a path to a file in the tag, you must enter the "\" character twice in order for the configuration file to be parsed correctly. For example, instead of
[C:\SITETEST\EXTFH\TEST2.dat]

you would need to enter

[C:\\SITETEST\\EXTFH\\TEST2.dat]

This applies to Windows environments (local development) only.

Previous Topic Next topic Print topic