Sunday, January 17, 2010
Create hidden cmd javascript
I'm looking for a way to run a cmd command without showing the cmd window to the user.
I'm using something like:
I'm using something like:
function reboot() {
var ws = new ActiveXObject("WScript.Shell");
ws.Exec("shutdown.exe -r -t 120");
}
But it still shows the window, is there anyway not to show it?
Thanks
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment