|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
/OUT (Output File Name)
- A user-specified name for the output file. It replaces the default name.
The /OUT option overrides the default name and location of the program that the linker creates.
By default, the linker forms the file name using the base name of the first .obj file specified and the appropriate extension (.exe or .dll).
To set this linker option in the Visual Studio development environment
- Open the project's Property Pages dialog box. For details, see Setting Visual C++ Project Properties.
- Click the Linker folder.
- Click the General property page.
- Modify the Output File property.
To set this linker option programmatically
See OutputFile Property.