Description files can use a special syntax to determine the drive, path, base name, and extension of the first dependent file in a description block. This syntax is called the "extmake" syntax.
The characters %s represent the complete file specification of the first dependent file. Various parts of the file specification are represented using the syntax:
%|<parts>F
where <parts> is any combination of the following letters:
d
The percent symbol (%) is a replacement in the OS/2 command line. To use the percent symbol in the command-line arguments, use a double percent (%%).
Example:
Using the following description file excerpt:
d:\path\filename.ext @echo"%%s" is "%s" and "%%|dpfeF" is "%|dpfeF"
The following would be displayed:
"%s" is "d:\path\filename.ext" and "%|dpfeF" is "d:\path\filename.ext"
In this example a double percent sign is used to display a single percent sign, and the output from %s is that same as the output from %|dpfeF.