0 out of 1 rated this helpful - Rate this topic

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

JScript Compiler Options | Compiling JScript Code from the Command Line

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.