CDE
This commit is contained in:
parent
518da4a923
commit
764da6cbbb
6144 changed files with 83610 additions and 11 deletions
|
|
@ -0,0 +1,2 @@
|
|||
var shell = new ActiveXObject("WScript.Shell");
|
||||
shell.run("cmd /c dir & pause");
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
runCommand("cmd", "/c", "dir", "d:\\");
|
||||
print("===");
|
||||
var options = {
|
||||
// can specify arguments here in the options object
|
||||
args: ["/c", "dir", "d:\\"],
|
||||
// capture stdout to the options.output property
|
||||
output: ''
|
||||
};
|
||||
runCommand("cmd", options);
|
||||
print(options.output);
|
||||
Loading…
Add table
Add a link
Reference in a new issue