开发者

How to run a JavaScript file from shell?

Can I run a JavaScript file from shell (Window\Linux) ?

I just want to show a message box to the user and based on the button selected perform some action. The buttons also need to be custom开发者_如何学Cized.


On windows you could use JScript.


Is this helpful ?

Interpret and execute arbitrary Javascript in Linux CLI


You can have a look at HTA apps for Windows. It's basically a windows application written in HTML and JS. http://msdn.microsoft.com/en-us/library/ms536496(VS.85).aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜