Solved

foolproof autorun

Posted on 2002-03-26
4
355 Views
Last Modified: 2008-02-01
What is the best way to set up an autorun for a CD-ROM? I've got a web project a client wants on CD-ROM and I tried using

[autorun]
OPEN=start index.html

Where index.html is the starting page, but it won't run on the client's PC. They run XP Pro if that makes a difference. Would it be better to hard code the path to the browser .exe?

And what are autorun.exe's? Are they a better way to start a CD?
0
Comment
Question by:jgla
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 4

Expert Comment

by:Bit_Twiddler
ID: 6898130
Since HTML files are not self executing you need to use start.exe.

First copy the "start.exe" file from your c:\windows\command directory to your CD-ROM.


then use


[autorun]
open=start.exe index.html


One disadvantage of this method is that it will display a transient DOS window before the default browser fires up.

If this is an issue then you will need to use a third party program like ShellRun  http://www.phdcc.com/shellrun/ to replace start.exe. It is available as freeware and a retail version. Others are also available to do the same task.





0
 
LVL 1

Accepted Solution

by:
RockinFewl earned 175 total points
ID: 6898602
'Made a while back the so manieth launcher tool, one of those capable to launch whatever document you want. You'll find heaps of them all over the Web.

Unrivaled by other launcher tools though, 'shellexe' takes a series of document types, and attempts to open them one by one until one succeeds.
This allows to take into account that the user hasn't a particular viewer application installed. You could e.g. first opt for PDF, then HTML, and eventually TXT.

Shellexe is especially developed for autorun purposes: it's under 60K, very simple to use, and doesn't expect anything special on the client -- so it will run on any Windows 95+ and NT3.51+. Most importantly, it's free.
http://www.whirlywiryweb.com/q/shellexe.asp

RF
0
 

Author Comment

by:jgla
ID: 6899458
Just the right answer! Thanks.
0
 
LVL 1

Expert Comment

by:RockinFewl
ID: 6899977
You're welcome jgla.
0

Featured Post

Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question