Solved

Autostart on CD

Posted on 1998-11-20
10
218 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
 

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
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.

 
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

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
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…

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

13 Experts available now in Live!

Get 1:1 Help Now