javascript - Launch / Check application -
i have following script using in intranet environment:
function launchapp(the_app) { var ws = new activexobject("wscript.shell"); ws.exec(the_app); }
this allows me pass exe path launch directly web page long internet explorer's intranet security settings adjusted.
the problem is, not in out network has same applications, has more, others have less. wondering, possible extend script above how check if path given exists on users computer before attempting launch it?
you can create filesystemobject
, interact client's filesystem.
Comments
Post a Comment