Syntax:

     $[d,string]

In this transformation, NMAKE32 will return the subdirectory portion of string. If there is no drive or path specified in string, this transformation will return an empty string; otherwise, it may contain a drive specifier, a path specification, or both.

Example:

The directory transformation:

     $[d,D:\MAKE\TEST.FIL]

returns:

     D:\MAKE

Note: Unlike the "path" transformation, the directory transformation will never end with a path separator.


[Back] [Next]