RosettaCodeData/Task/Execute-a-system-command/JavaScript/execute-a-system-command-1.js

3 lines
81 B
JavaScript
Raw Normal View History

2013-04-10 16:57:12 -07:00
var shell = new ActiveXObject("WScript.Shell");
shell.run("cmd /c dir & pause");