Discussion Locked

Need help with autorun.inf file

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Hey everyone... I'm working on a HTML-based CD manual, and I need assistance. I'm trying to get my index page to start as soon as the CD-ROM is inserted into the drive... I've tried modifying the autorun.inf file to start with this page, but it either does nothing or issues an alert that the file can't be found. Can anyone give me the parameter I need to include in autorun.inf to force this index page to open? THanks....

6 replies

by syscokid

think you can use the open= line of autorun.inf to point to Internet Explorer (or Netscape or whatever) and pass the name of the web page you want to open.

open=C:\program files\Internet Explorer\iexplore.exe mypage.html

Or there are some 3rd party programs you can use. This one is freeware:

www.ashzfall.com/products/autorun/browsercall.html

by timmitchell

Thanks, but the open= nor the browsercall executable works. I've burned the data on two different computers with the same result, so I know it's not my burner or my software....

by jackofalltech

You don't need to specify the executable, all you need is the HTML filename, fully qualified from the root of the CD - NO drive designation.

If that doesn't work, post the .INF file here.

Ralph

by timmitchell

I've tried that.... I get an alert indicating "Access to the specified file or device is denied." The file opens fine when I manually open it. Here's my simple autorun.inf file:

[autorun]
open=nav_page.html

by don christner

The open line of an autorun.inf file is limited to starting exe, com or bat file extensions. Also, do not include the root of the path, ie c: if you are going to try to launch IE from the harddrive. Problem is, how do you know the path on someone elses computer?

There are some helper programs out there that take over launching the browser. Go to google and search for autorun.inf "how to" and you'll find several.

You could also make a batch file that launches IE, then use the open line of autorun.inf to launch the batch file.

Don

by haris

[AutoRun]
open=index.htm
icon=index.htm,0
---------------
paste the above lines in your autorun.inf file and place it at the root of the cd and make sure that index.htm file is also located at the root of the cd.

This discussion is closed to new replies.