Quantcast
Channel: windows command line javascript - Stack Overflow
Browsing latest articles
Browse All 6 View Live

Answer by not2qubit for windows command line javascript

This is a very outdated thread, many of the answers are incomplete and/or simply don't work. The way to run JS in shell (regardless if you're using windows or not), is to use Node.js. After you have...

View Article



Answer by Nate Zaugg for windows command line javascript

If you really want to run JavaScript in a shell, then you should consider installing Node.jshttp://javascript.cs.lmu.edu/notes/commandlinejs/

View Article

Answer by spoulson for windows command line javascript

That is actually JScript and when run with cscript or wscript, it's under the Windows Scripting Host environment, which has no real similarity with web-based javascript.Windows Scripting Host reference

View Article

Answer by brianary for windows command line javascript

You are using the Windows Scripting Host.You can say things like:WScript.Echo("Hello, World.");It's all COM-based, so you instantiate ActiveX controls to do anything useful:var y = new...

View Article

Answer by Joel Coehoorn for windows command line javascript

Try WScript:WScript.Echo('hello world');

View Article


windows command line javascript

I'm trying to run javascript from a windows command line via scriptcscript //NoLogo test.jsHowever, I can't find any predefined objects which are available. I'm totally at a loss - Can't get hello...

View Article
Browsing latest articles
Browse All 6 View Live


Latest Images