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