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

Building from the Command Line

The compiler can be started at the command line by typing the name of its executable (jsc.exe) on the command line. For more information, see Compiling JScript Code from the Command Line.

  • Compiles File.js producing File.exe:

    jsc File.js 
  • Compiles File.js producing File.dll:

    jsc /target:library File.js
  • Compiles File.js and creates My.exe:

    jsc /out:My.exe File.js
  • Compile test.js and create a .dll:

    jsc /target:library test.js