Solved

Autostart on CD

Posted on 1998-11-20
10
219 Views
Last Modified: 2010-04-04
How do I create an autostart program to launch another app when a CD is placed in the CD drive - also, how to debug such a program???
0
Comment
Question by:path
  • 4
  • 3
  • 3
10 Comments
 
LVL 17

Accepted Solution

by:
inthe earned 100 total points
ID: 1347474
an autostart program is just a text file.
do the following:
create new text file
on line 1 type: [autorun]
on line 2 type: open=notepad.exe{your program to open}
save this as autorun.inf

¤¤¤¤¤¤¤Barry¤¤¤¤¤¤¤
0
 
LVL 3

Expert Comment

by:bryan7
ID: 1347475
add icon=myicon.ico      to add an icon

( myicon.ico = the icon file name )

bryan

0
 
LVL 17

Expert Comment

by:inthe
ID: 1347476
B.T.W if you want have a look on your pc at different inf files and you'll see you can add loads of other info about your app
Barry
0
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 

Author Comment

by:path
ID: 1347477
I have graded this as a based, not on the correctness as I haven't had a chance to test it, but rather on the unbelievable speed and extra information provided.

I had an answer within a couple of hours - unprecedented!!!

Wonderful Service!!!
0
 
LVL 17

Expert Comment

by:inthe
ID: 1347478
thankyou path
if you have any cd's that autoplay stick one in and have a look at it in explorer ,you'll see a file called autorun.inf in the cd's main directry no doubt,open it in notepad and you'll see what were on about ,hope we got it right for ya
barry
0
 
LVL 3

Expert Comment

by:bryan7
ID: 1347479
0
 

Author Comment

by:path
ID: 1347480
The service just keeps on keeping on - I can see myself visiting here regularly!!!!
0
 
LVL 3

Expert Comment

by:bryan7
ID: 1347481
well, yeah.

this is E-E .. glad to help.

bryan
0
 

Author Comment

by:path
ID: 1347482
Given the relative simplicity of the problem - I may have been over-generous on the points though<g>.
0
 
LVL 17

Expert Comment

by:inthe
ID: 1347483
heck no keep it up hehe ;~)

Barry
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

813 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

17 Experts available now in Live!

Get 1:1 Help Now