Solved

Autostart on CD

Posted on 1998-11-20
10
217 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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

744 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

10 Experts available now in Live!

Get 1:1 Help Now