Solved

CD Autorun

Posted on 1999-01-20
5
287 Views
Last Modified: 2010-04-27
I have written some ".htm" documents onto a CD and I have been trying to make the CD Autorun when it is placed in the drive.
I created two files, "Autorun.inf" which contains the following:
            [Autorun]
            open=go.bat

and another file "go.bat" which contains
            start \default.htm
Default.htm is the document I wish to launch on autorun. I have been testing this on a Zip disc but can't get it to work. Any suggestions would be appreciated.
0
Comment
Question by:sjt
  • 3
  • 2
5 Comments
 
LVL 17

Expert Comment

by:inthe
ID: 1020795
you are very close use this instead

[Autorun]
open=Default.htm

Regards Barry
0
 

Author Comment

by:sjt
ID: 1020796
Thanks Barry, I tried your suggestion using a ZIP disc. On insertion it opened a Window Explorer type window showing the contents of the zip disc but it did not automatically open the file "default.htm". I noticed that in the settings dialogue box for the zip drive (control panel, system properties, device manager) that the autoinsert check box is not able to be activated. Could this be the problem?
0
 
LVL 17

Expert Comment

by:inthe
ID: 1020797
most definatly as my method is the way to autorun a program of a cd.
make sure default.htm in the same directory as autorun.inf as it needs to be or specify the path ie:open path\default.html
note i put html not htm ,it is better to use html as it is true microsoft compliant then.
0
 
LVL 17

Accepted Solution

by:
inthe earned 100 total points
ID: 1020798
here is a registry hack to make your autorun enabled for zip drive
Regards Barry

http://support.microsoft.com/support/kb/articles/q136/2/14.asp
0
 

Author Comment

by:sjt
ID: 1020799
Thanks, just the information I needed.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

744 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

12 Experts available now in Live!

Get 1:1 Help Now