How to code html so that I can "run" an .exe file from CDROM

liunx

Guest
I have made a family history CDROM to distribute to family members. There are a lot of things on it and it runs via web browser. I use a photo album program that executes via the command "start.exe". If I navigate to that folder on the CDROM via windows explorer and "double-click" the start.exe command, the program executes and the photo album opens. The problem is when I try to make a html link to that file (start.exe) in the html code, the browser then thinks I am trying to "Download <!--more-->" the file. Even if I select "open", the program looks like it is starting to open and then never does. <br />
<br />
I suspect that this is a security measure in the browser to prevent someone from posting an executable virus program as a link and then when you click on the link, you have installed the virus. But when you run it from a CDROM, there should be some sort of work around.<br />
<br />
I have posted some of the CDROM pages on the internet at the following link. (the album files are there due to webspace, but you can view the code).<br />
<br />
<!-- m --><a class="postlink" href="http://mywebpages.comcast.net/bpdulla/photo_albums.htm">http://mywebpages.comcast.net/bpdulla/photo_albums.htm</a><!-- m --><br />
<br />
I just want to make the webpage (on CDROM) execute the "start.exe" command, as if I double-clicked it in windows explorer or typed it into the "run dialog box".<br />
<br />
I saw on one site where there is a separate "run" command for the html code (vice href or ftp), but I couldn't get the syntax to work.<br />
<br />
I can make the file run via an autostart.inf (which runs the start.exe file) on a separate CDROM, but that sort of defeats the purpose of having everything in one place. If it runs that way, there should be a way of making it run via hyperlink.<br />
<br />
Thanks,<br />
Brian<!--content-->as far as i know, there is no way of doing that. javascript can only access browser functions. html obviously cant, and neither could a server-side language.<br />
<br />
Why dont you just tell people to double click the start icon:confused:<!--content-->you can make it so the cd auto runs the setup.exe when they insert the CD into their drive.<br />
<br />
<!-- m --><a class="postlink" href="http://www.htmlforums.com/showthread.php?s=&threadid=16576">http://www.htmlforums.com/showthread.ph ... adid=16576</a><!-- m --><!--content-->
 
Back
Top