Solved

Batch File : Autorun From CD

Posted on 2002-04-28
5
262 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Adobe Customization Wizard XI issues 26 166
squareUp  challenge 22 106
scoresAverage challenge 8 75
topping1 challenge 7 51
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…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
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…

706 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