By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,968 Members | 1,681 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,968 IT Pros & Developers. It's quick & easy.

Launching an App to open a file from a hyperlink

P: 4
Hi,

If I enter "C:/Progra~1/Starbase/CodeWright/cw32.exe C:/test/test.c" from the command line I can open the file. In this case CW32 is launched and opens test.c.

So, how do I do this from a hyper link?

I tried:

<a href="C:/Progra~1/Starbase/CodeWright/cw32.exe C:/test/test.c">test.c</a>

But, it doesn't work.

Could I call a java script from the hyperlink that would do this?

If so, how? I don't know the scripting language.

GTR
Nov 13 '07 #1
Share this Question
Share on Google+
1 Reply


100+
P: 428
This isn't anything for javascript- javascript lives its whole life in a single thread, and becoming the command line for an executable is death for the script that calls it.

You need a multi threaded environment- look at java or server side code to run applications.
Nov 14 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.