• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 231
  • Last Modified:

Autostart on CD

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
path
Asked:
path
  • 4
  • 3
  • 3
1 Solution
 
intheCommented:
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
 
bryan7Commented:
add icon=myicon.ico      to add an icon

( myicon.ico = the icon file name )

bryan

0
 
intheCommented:
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
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.

 
pathAuthor Commented:
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
 
intheCommented:
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
 
bryan7Commented:
0
 
pathAuthor Commented:
The service just keeps on keeping on - I can see myself visiting here regularly!!!!
0
 
bryan7Commented:
well, yeah.

this is E-E .. glad to help.

bryan
0
 
pathAuthor Commented:
Given the relative simplicity of the problem - I may have been over-generous on the points though<g>.
0
 
intheCommented:
heck no keep it up hehe ;~)

Barry
0

Featured Post

Technology Partners: 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!

  • 4
  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now