This topic has not yet been rated - Rate this topic

/out

Sets output filename.

/out:filename
filename

The name of the output file created by the compiler.

The /out option specifies the name of the output file. The compiler expects to find one or more source code files following the /out option.

If you do not specify the name of the output file:

  • An .exe will take its name from the first source code file used to build the output file.

  • A .dll will take its name from the first source code file used to build the output file.

On the command line, it is possible to specify multiple output files for a compilation. All source code files specified after an /out option will be compiled into the output file specified by that /out option.

Specify the full name and extension of the file you want to create. The extension must be either .exe or .dll. It is possible to specify a .dll extension for /t:exe projects.

Compile t2.js and create output file t2.exe and build t3.js and create output file t3.exe:

jsc t2.js /out:t3.exe t3.js
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.