The mapfile field is used to specify a filename for the map file or to suppress creation of a map file. A map file lists the segments in the executable file or DLL.
You can specify a path with the filename. The default extension is .MAP. Specify NUL to suppress the creation of a map file. The default for the mapfile field is one of the following:
If this field is left blank on the command line or in a response file, LINK creates a map file with the base name of the exefile (or the first object file if no exefile is specified) and the extension .MAP.
When using LINK prompts, LINK assumes either the default described above (if an empty mapfile field is specified) or NUL.MAP, which suppresses creation of a map file.
To add line numbers to the map file, use the /LINE option. To add public symbols, use the /MAP option. Both /LINE and /MAP force a map file to be created unless NULL is explicitly specified.