Solved

foolproof autorun

Posted on 2002-03-26
4
349 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
  • 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
archiving old posts 9 43
reposition hamburger icon to top of screen 5 61
Editing login page in zencart. 2 34
manage footer size 4 14
Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
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).
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

863 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

Need Help in Real-Time?

Connect with top rated Experts

29 Experts available now in Live!

Get 1:1 Help Now