View Full Version : can you show me the equivalent statement with ... exec() in Java
ngochieu3012
07-18-2002, 03:47 AM
I have a problem with JavaScript. I want to call a file.exe in web but I don't know how to do that. In java there is a statemet to do that. This is Runtime.getRuntime.exec(file.exe). Can you show me the equivalent statement in JavaScript
thanks.
Gordo
07-18-2002, 03:50 AM
WRONG FORUM!
This forum is for "Post a JavaScript". In the "read this message first" post at the top of the forum, you'll see "to post a useful script or code snippet to benefit the public or for critiquing."
This should have been posted in the "JavaScript programming help" forum.
You can't execute files from a web server in Javascript to my knowledge. In IE and using WSH, you can execute files on their hard drive. In Netscape, using a signed script you can use that exact same Java command via LiveConnect, but once again it has to be on the hard drive.
Anyway, I'm moving this to the Javascript Programming Forum.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.