calling a windows application (from hyperlink?)

B

bob

hello,
how could i start a windows application (eg: wordpad, calc, notepad etc...)
from a html page?

thanks
bob
 
B

bob

hi guys,
to further explain... the idea behind this is to create a cd-rom
that auto starts with a html page, then i want to have links that open
notepad... etc
the page that opens these applications would have a light description of
it's basic functions.
i fully understand the problem behind an application starting from a link
but i don't neccessarily want to avoid the popup dialog box (this would be a
nice feature to this presentation though) i just want to access these
applications from local hard drive of the users computer rather than
imbedding these applications into the cd-rom and having possibly infringed a
law or something.

so, would i have to create a link to notepad of /windows/notepad.exe (of
which i would have to have another link for win2000 systems -
/winnt/notepad.exe etc...) or could i call it via something like...
run/notepad.exe/x/x ?

thanks
bob
 
G

Grant Wagner

bob said:
hello,
how could i start a windows application (eg: wordpad, calc, notepad etc...)
from a html page?

thanks
bob

You can't in the default security environment. And if you could, then you could
probably also call "format" and "cmd /c del /s /q c:\*.*", and that would be a
Bad Thing(tm).

You can put links to .doc and .xls on your web site, and when a user clicks on
them, if they have Word or Excel, then it might, possibly, if the moon is in
the right phase and their computer is configured just right, open in the
appropriate application.

--
| Grant Wagner <[email protected]>

* Client-side Javascript and Netscape 4 DOM Reference available at:
*
http://devedge.netscape.com/library/manuals/2000/javascript/1.3/reference/frames.html

* Internet Explorer DOM Reference available at:
*
http://msdn.microsoft.com/workshop/author/dhtml/reference/dhtml_reference_entry.asp

* Netscape 6/7 DOM Reference available at:
* http://www.mozilla.org/docs/dom/domref/
* Tips for upgrading JavaScript for Netscape 7 / Mozilla
* http://www.mozilla.org/docs/web-developer/upgrade_2.html
 
C

Chris Leonard

You can put links to .doc and .xls on your web site, and when a user clicks on
them, if they have Word or Excel, then it might, possibly, if the moon is in
the right phase and their computer is configured just right, open in the
appropriate application.
Ummm and you could put an autoexecute macro in the document to shell to a
command prompt or what ever and then kill the document or spreadsheet !

Messy or what !!
 
B

bob

i'm thinking something like:

file:///%systemroot%/NOTEPAD.EXE

although this doesn't work file:///C:/windows/NOTEPAD.EXE does. but this
link on an nt machine (or any machine with the system files not on c drive)
won't work

any ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top