Building from the Command Line
Visual Studio .NET 2003
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.jsand create a .dll:jsc /target:library test.js
See Also
JScript Compiler Options | Compiling JScript Code from the Command Line