[Javascript] Invoking executable from javascript by passing arguments.

Pankaja pankajab at sysarris.soft.net
Sat Nov 3 00:40:47 CST 2001


Could anyone please tell me how to invoke an executable or application by
passing arguments from javascript. This should be similar to invoking an
application by passing arguments in the command prompt. 
Textpad.exe testFile.txt

I wrote a file to test the above command but it didn't work. I'm able to
open the textpad.exe without passing argument. But, again some security
alerts are displayed, which i don't want to happen. Has any one come across
this situation.

<a href="D:\Textpad 4\Textpad.exe testFile.txt">Open File</a>

Thanks in advance,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 1896 bytes
Desc: not available
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20011103/0466c521/attachment.bin>

More information about the Javascript mailing list