Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Bertha Ferguson   on Jul 13 In Java Category.

  
Question Answered By: Olga Kates   on Jul 13

Can u use "rundll32" to make it work ?
I have seen developers use "rundll32" to open IE from java  code.
Here's a link on rundll commands
dev.remotenetworktechnology.com/cmd/rundll32.htm


if (url.getProtocol().equals("file")) {
command = "rundll32 url.dll,FileProtocolHandler
"+Tools.urlGetFile(url);
} else if (url.toString().startsWith("mailto:")) {
command = "rundll32 url.dll,FileProtocolHandler "+url.toString();

Runtime.getRuntime().exec(command);

Share: 

 

This Question has 5 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Kill App Or get search suggestion and latest updates.


Tagged: