LINK /OUT

This option names the output file.

Syntax

/out:filename

The required filename argument consists of everything after the colon.

If a /out option (with an argument) is given as a directive in an object file, it is ignored if the output file is regarded as having been named by an earlier instance. It is ignored without complaint if the file name and extension are the same, else with warning LNK4070. Thus, /out is valid as a directive in an object file but cannot override a /out from the command line. The ordinary occurrence of a /out option in an object file is in an export file created by LIB, with /out resulting from the translation of a LIBRARY, NAME or VXD statement in a module definition file.