Solved

CD Autorun

Posted on 1999-01-20
5
290 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
This is about my first experience with programming Arduino.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

828 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