Filename-Parts Syntax in NMAKE

Filename-parts syntax in commands represents components of the first dependent filename (which may be an implied dependent). Filename components are the file's drive, path, base name, and extension as specified, not as it exists on disk.

Use %s to represent the complete filename.

Use %|[parts]F to represent parts of the filename, where parts can be zero or more of the following letters, in any order:

Letter Description
No letter Complete name (same as %s)
d Drive
p Path
f File base name
e File extension