Dela via


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.

Sample Command Lines

  • 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
    

See Also

Tasks

How to: Compile JScript Code from the Command Line

Other Resources

JScript Compiler Options