We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

NAME (C/C++)

Specifies a name for the main output file.

NAME [application][BASE=address]

An equivalent way to specify an output file name is with the /OUT linker option, and an equivalent way to set the base address is with the /BASE linker option. If both are specified, /OUT overrides NAME.

If you build a DLL, NAME will only affect the DLL name.