java - Launch program web clients -


i'm working on intranet society.
created programs.
need when client clicking on <button> of web site, program launched.
of programs .jar in clients's computers.
need launch them arguments.
know it's impossible launch cmd command website on client's desktop. possible launch programs ? clients on ie.

i tryed :

<script type="text/javascript">   var obj = new activexobject("wscript.shell" );   obj.run('explorer.exe /e "c:\\ton dossier"', 0, true); </script> 

but open me document folder (always).
idea ?

i found :

wshshell = new activexobject("wscript.shell"); wshshell.run("c:/users/adm_adv/desktop/ouvrir.jar c:", 1, false); 

thx all.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -