RosettaCodeData/Task/Execute-a-system-command/JavaScript/execute-a-system-command-1.js
Ingy döt Net 764da6cbbb CDE
2013-04-10 16:57:12 -07:00

2 lines
81 B
JavaScript

var shell = new ActiveXObject("WScript.Shell");
shell.run("cmd /c dir & pause");