RosettaCodeData/Task/Execute-a-system-command/JavaScript/execute-a-system-command-1.js
2023-07-01 13:44:08 -04:00

2 lines
81 B
JavaScript

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