April 29, 2002 - Adding jsc.exe to Your Path | WebReference

April 29, 2002 - Adding jsc.exe to Your Path

Yehuda Shiran April 29, 2002
Adding jsc.exe to Your Path
Tips: April 2002

Yehuda Shiran, Ph.D.
Doc JavaScript

In order for the compiler jsc.exe to work from any directory of your system, the location of the compiler jsc.exe must be included in your path environment variable. Installing .NET SDK should take care of updating path. If the system does not find jsc.exe when you type jsc at the command prompt, you need to first find out where jsc.exe is. Do a search and find it. On my desktop, jsc.exe resides in C:\windows\Microsoft.NET\Framework\v1.0.3705. To add a directory to your path, right-click the My Computer icon on your desktop and select Properties from the shortcut menu. Select the Advanced tab and click the Environment Variables button. In the System Variables pane, select path from the list and click Edit. In the Edit System Variable dialog box, move the cursor to the end of the string in the Variable Value field and type a semicolon (;) followed by the full directory name found earlier for jsc.exe.

To learn more on JScript .NET, go to Column 107, JScript .NET, Part I: The Mechanics.