Syntax:

     $[f,path,rootlist,extension]

In this transformation, NMAKE32 uses the parts specified to construct complete file specification. The rootlist value may contain one or more filenames, each of which can be fully-qualified. NMAKE32 takes each of those names, adds the value specified by path and the value specified by extension (replacing those parts if specified in the name), and returns a string containing these new file specifications. If the path or extension value is omitted, that part of the original file specification will remain unchanged; however, if either of those values is a null string (""), the corresponding parts of the file specification will be removed.

Examples:

The transformation macros:

     $[f,C:\OS2\,D:\MAKE\TEST.FIL,EXT]
     $[f,"",D:\MAKE\TEST.FIL,]

returns:

     C:\OS2\TEST.EXT
     MAKE.FIL


[Back] [Next]