Solved

Batch File : Autorun From CD

Posted on 2002-04-28
5
272 Views
Last Modified: 2010-08-05
I need to get an html file to pop up on the screen when a cd is inserted into the drive. I believe I need a batch file to do this, what kind of code would I use to do this?
0
Comment
Question by:mikeyboy1987
5 Comments
 
LVL 22

Accepted Solution

by:
CJ_S earned 50 total points
ID: 6975727
You need to create an autorun.inf file which should be oput in the root of the cd-rom. Followng should be enough in this file:

[AutoRun]
open=iexplore.exe "yourhtmlfile.html"

Or maybe even
[AutoRun]
open=yourhtmlfile.html

CJ

0
 
LVL 11

Expert Comment

by:dimitry
ID: 6976538
If the solution of CJ for some reason doesn't work for you,
you can put into AUTORUN.INF file next lines:
[autorun]
OPEN=HtmlExec yourthhtmlfile.htm
 and download HtmlExec from:
http://www.pop-brb.de/download/tools/win9x_nt4_2000/allerlei/allerlei.html
0
 

Author Comment

by:mikeyboy1987
ID: 6976937
Great, I'll Try These ASAP!
0
 
LVL 54

Expert Comment

by:nico5038
ID: 7515056

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
 - Answered by: CJ_S
Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

Nic;o)
0
 

Expert Comment

by:Jgould
ID: 7548119
Question has been closed as per recommendation

JGould-EE Moderator
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Exchange and Third Party application. 8 68
triangle challenge 4 121
Specific format 21 182
Scripting vs. Programming languages 25 151
I know it’s not a new topic to discuss and it has lots of online contents already available over the net. But Then I thought it would be useful to this site’s visitors and can have online repository on vim most commonly used commands. This post h…
A short article about problems I had with the new location API and permissions in Marshmallow
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

920 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

16 Experts available now in Live!

Get 1:1 Help Now