Directory Update package files syntax and format

Package files contain information that specifies and describes which target files users want to be kept current with source files.

Package files syntax:
PKGF Description text
MBRF PROG1.EXE
MBRF INFO.TXT
MBRF SUBDIR\SHEET.XLS
DLTF PROG2.EXE
Note: Text must start in the first row and column of the file. Each package file must begin with the PKGF keyword.
Package files format:
Package files consist of the following elements:
PKGF description (optional):
This identifier indicates that the file is a package file. If this tag is not found in the first four characters of the file, Directory Update will not process the file while searching for files to update. A description is optional.
MBRF filename:
This identifies a file as part of the package to be updated. A path name also can be specified; this indicates that the file is in a subdirectory of the source directory.

The path should not contain the drive letter, or begin with a back-slash character (\). When you begin the update function, you specify a target directory; the path that is specified in the package file is considered a subdirectory of this target directory.

DLTF filename:
This identifies a file to be deleted from the target directory. A path name also can be specified; this indicates that the file is in a subdirectory of the target directory. As with the MBRF identifier, you should not specify a drive letter or begin with a back-slash character (\).
Related topic:
See Directory Update sample program for sample Directory Update APIs and detailed explanations of their attributes.