Quantcast
Viewing all articles
Browse latest Browse all 6

windows command line javascript

I'm trying to run javascript from a windows command line via script

cscript //NoLogo test.js

However, I can't find any predefined objects which are available. I'm totally at a loss - Can't get hello world to work:

System.print("Hello, World!")

results in "System" is undefined

Is there another way I should be running this - like through .NET runtime?

Thanks

jeff


Viewing all articles
Browse latest Browse all 6

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>