Format Macros

Programs that are used for file access can use Format macros.

Format Macros
Macro Meaning

FILENAME

Name of the first file in the default format or the selected file. During a checkout operation, includes the full target directory/filename. (For desktop applications, this is the final destination for the file. For Studio Customization Toolkit programs, this is the workspace directory on the server, prior to copying to the client.)

FILENAMES

Names of all the files in the default format, space delimited

FILENAME_ORIGINAL

Name of the first file in the default format or the selected file, as it is recorded in the database (hash name if using a hashed captured store), and also as it will be named on the client system after an Studio Customization Toolkit checkout operation.

FORMAT

Default format of the business object or the currently selected format

PROG

PROG is the full command line (with or without arguments) returned by Windows file associations.