Sun Certified Programmer for Java 2 Platform
Originally posted by karan, chopra:
hi there,
thanks for posting a reply to my question.actually i knew about this command Runtime.getRuntime().exec("calc.exe"); but the problem is that when i invoke this command with the file's url like this
Runtime.getRuntime().exec("http://servers IP address/the path on the server/filename.exe"),then rather than executing the file,it gives an option for saving it on my computer(the clients machine)..
so please suggest me whats going wrong here..i appreciate your help in this matter..
cheers
karan
Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
Sun Certified Programmer for Java 2 Platform
Shubhrajit
Originally posted by Shubhrajit Chatterjee:
Your batch file should look like this
And then use runtime.exec()
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |