Browse - Computer Tips - Can I run javaScript in the Windows command line?

Date: 2012nov27
OS: Windows
Language: javaScript

Q.  Can I run javaScript in the Windows command line?

A.  Yes.  With:

c:\Program Files\Java\Jdk<version>\bin\jrunscript.exe
It now comes with Java. For example:
"c:\Program Files\Java\jdk1.7.0_45\bin\jrunscript.exe" hello.js