I agree with RedKelvin, no solution here.
As you said it depends on the borwser settings and you don't have a web server to set "Content-Disposition: attachment" in the http header.
Main Topics
Browse All TopicsI am creating a distributable CD with documents in PDF, TXT and DOC formats. I have created a table of contents in HTML and have links to each of the documents. When clicking a link, the file opens in a browser window instead of its native application. Being that this is on a CD, I have no web server and am subject to the settings on each users computer. How can I make the HTML links work effectively?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
hi there
i think this maybe of help but these changes are to be made by the user
http://support.microsoft.c
and what i believe is that if the mime settings can be manipulated or rather handled u can find a workaround
this is a grab from a microsoft webcast
One other thing: when you get into manipulating or always forcing prompts, there are a couple of settings in the shell that will affect you. Specifically, the location of them in Windows 2000 is in Windows Explorer: select Tools, Folder Options, File Types. Then, you want to get to the Registered file types.
In Windows 2000, there will be an Advanced button. You pick the MIME type. There are a couple settings which play into this quite heavily. They are Confirm open after download and Browse in same window.
I will take the example of a Word document. If you have a Word document set up with Browse in same window checked, Internet Explorer will display it inline. If you have it cleared, Internet Explorer will always open up Word, or open up the owning application.
Similarly, with Confirm open after download, if you have that box checked, Internet Explorer will always prompt you with an Open/Save dialog box. If you specify that you want a Content-Disposition of attachment, you will get two of them.
The other thing is that, in certain cases, there can be a conflict between returning a behavior via the Content-Disposition header and the setting used in Browse in same window. When I was testing this, the Content-Disposition attachment will override Browse in same window, but the inverse is not true; Content-Disposition inline will not override an cleared Browse in same window box in the file-type association.
hope this will make u do some coding and solve ur issue
bhanu
hi
i forgot to give u the webcase link discussing mime handling and other features
http://support.microsoft.c
there are presentations about mime handling used in the webcase and a full audio of it
the link page is
http://support.microsoft.c
bhanu
Unfortunately, any changes that would be required of the user would not be appropriate. Many of the people who will receive this CD are not very computer-literate and I cannot give them a list, not even a short one, of required changes. It needs to be as simple as possible for them. It will be viewed on many diverse systems, including Macs. 99% of the files are PDF. I thought an HTML table of contents with links would be the best solution but if you have any other ideas, I am open.
Thanks,
Louis
Since this is apparently not possible I ended up having to settle with the documents opening within a browser window but it will stop accomplish the task.
I would like to change direction on this question: Can an HTML page be designed to run on a CD (no web server) that will have the ability to search document listings based on key words?
Definately, just use the Javascript filesystem object,
Here are some links that will help
http://www.codeproject.com
http://www.irt.org/xref/Fi
The first link should almost be a complete solution for you
Good luck
RedK
Yes, that example uses activex, which means Firefox will not support it, but there are ways of doing this purely with Javascript and the filesystemobject, yes can also be done with vbscrpt, but javascript will have more examples, as it is more widely used
take a look at this link
http://www.sloppycode.net/
That has examples of using the filesesystem object with javascript and vbscript
more vbscrpt examples
http://www.codecomments.co
http://www.codecomments.co
Business Accounts
Answer for Membership
by: RedKelvinPosted on 2006-02-26 at 02:09:05ID: 16048633
This is not a solution but may be interesting reading for you box/open_n ew_windows .html
http://www.useit.com/alert
Unfortunately I don't see a solution to your situation, other than recommending to the user what they should view your docs with.
RedK