Solved

Autostart on CD

Posted on 1998-11-20
10
225 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses
Course of the Month4 days, 11 hours left to enroll

636 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