Please register or login. There are 4 registered and 1285 anonymous users currently online. Current bandwidth usage: 121.66 kbit/s July 20 - 09:50am EDT 
Hardware Analysis
      
Forums Product Prices
  Contents 
 
 

  Latest Topics 
 

More >>
 

    
 
 

  You Are Here: 
 
/ Forums / Programming /
 

  what makes a CD selfstart? 
 
 Author 
 Date Written 
 Tools 
Juan Pena Dec 13, 2007, 08:32am EST Reply - Quote - Report Abuse
Send Message - Add to Buddy List Replies: 10 - Views: 122
hello all. This should be an easy one to answer. Thanks to all in advance.

I have prepared a small photo show to burn onto a CD and send to my family. Now, I would like the show to start automatically when the disk is inserted into the computer. I am using Nero 7 for the burning, but I have not yet found out how to program it so it will automatically start.

I guess I need something else, but I just do not know what. any help here?


Asus A8N-E
Amd Athlon 64 3500+ @2300
2gb DDR 400
160 gb , 120 gb
DVD +/-RW
CD-RW
Want to enjoy less advertisements and more features? Click here to become a Hardware Analysis registered user.
DublinGunner Dec 13, 2007, 09:04am EST Reply - Quote - Report Abuse
Send Message - Add to Buddy List

Edited: Dec 13, 2007, 09:05am EST

 
>> Re: what makes a CD selfstart?
You would need to creat an autorun.inf file.

Is it like a slideshow presentation, or have you savedit as a picture CD/DVD?

You must also ensure that the pc you will be running it on, actually has the software installed to read the file. i.e. if you created a PowerPoint presentation, you must ensure that PP reader is installed on the other PC. Also, you can save your presentation to autorun with powerpoint, without the need for an autorun file on the CD

Anyway, open note pad, type this in:

[autorun]
shellexecute=myfile.exe

save this as autorun.inf and place it on the cd's main folder.

Obviously substitute myfile.exe with the name of your presentation file.

E6400 L628 @3.4
Thermalright Ultra 120 Extreme
Abit Quad GT
2GB Team Xtreem DDR2-850 4 4 3 10
Leadtek 8800GT 512
OCZ GameXstream
SiB Dec 13, 2007, 11:00am EST Reply - Quote - Report Abuse
Send Message - Add to Buddy List  
>> Re: what makes a CD selfstart?


You could use this:

http://www.softplatz.com/Soft/Utilities/Other/Autorun-Inf-Editor.html

or this

http://www.softplatz.com/Soft/Utilities/Other/Autorun-Inf-Editor.html

to make the autorun file, also within the "autorun.inf" file you can specify an icon for the cd aslong as the icon is in the cd using the following command:

icon=smiley.ico
(replacing smiley with the real icon name :) )

Also if its not an .exe file you are trying to open you could use:
open=explorer \index.htm (for a html page)
open=explorer \picture001.jpg (for directly opening a jpeg image)

hope this helps aswell.

"Look up for inspiration, down for concentration but don’t look side to side for information"
Juan Pena Dec 13, 2007, 06:37pm EST Reply - Quote - Report Abuse
Send Message - Add to Buddy List  
>> Re: what makes a CD selfstart?
Thanks guys for the info. Very helpful and it worked. Again, thanks,

Asus A8N-E
Amd Athlon 64 3500+ @2300
2gb DDR 400
160 gb , 120 gb
DVD +/-RW
CD-RW
Juan Pena Dec 14, 2007, 12:10pm EST Reply - Quote - Report Abuse
Send Message - Add to Buddy List  
>> Re: what makes a CD selfstart?
Following the topic, another question.

I now know how to make it so the CD will automatically start a specific program. Now, I would like it to instead open a notepad readme file which, upon closing, would be followed by the slideshow.

Can this be done with a batch file maybe? do I need some further programming instead? Do I need simply to include some other instruction inthe autorun.inf file?

Thanks in advance to whomever wants to shed some light about this.

Asus A8N-E
Amd Athlon 64 3500+ @2300
2gb DDR 400
160 gb , 120 gb
DVD +/-RW
CD-RW
DublinGunner Dec 14, 2007, 12:37pm EST Reply - Quote - Report Abuse
Send Message - Add to Buddy List  
>> Re: what makes a CD selfstart?
Batch files generally only run seperate programs without user input. There would be no way for a batch file to know you closed notepad, and powerpoint should open.

you could probably have notepad open, then a pre-determined time later, the presentation would open.

A much easier way would be to have the text in the first frame of the slide show.

E6400 L628 @3.4
Thermalright Ultra 120 Extreme
Abit Quad GT
2GB Team Xtreem DDR2-850 4 4 3 10
Leadtek 8800GT 512
OCZ GameXstream
john albrich Dec 14, 2007, 04:12pm EST Reply - Quote - Report Abuse
Send Message - Add to Buddy List  
>> Re: what makes a CD selfstart?
Not the best solution, but you could make the very first picture the note you want to convey...tell the user to pause the slideshow if they want to read it for a longer period of time, or make it the first 3 or 4 pictures (showing the same thing) so they'll have longer to read it), or show a little bit more of the note in each subsequent picture.

Max Lindholm Dec 14, 2007, 04:37pm EST Reply - Quote - Report Abuse
Send Message - Add to Buddy List

Edited: Dec 14, 2007, 04:38pm EST

 
>> Re: what makes a CD selfstart?
You could use vbscript to execute them sequentially, the 2nd app launching upon the termination of the first. I wrote a script that did a set of remote tasks sequentially for one of my old jobs, if I find it I'll post it.

Juan Pena Dec 14, 2007, 04:39pm EST Reply - Quote - Report Abuse
Send Message - Add to Buddy List  
>> Re: what makes a CD selfstart?
Hello all and thanks for the replies. AT the moment what I know how to do is to indeed use the text as the first pic in the slideshow. In any case, Max, should you publish here that vscript, I would certainly learn something new. I would thank you for that.

To all ,thanks. Great help. Much appreciated.

Asus A8N-E
Amd Athlon 64 3500+ @2300
2gb DDR 400
160 gb , 120 gb
DVD +/-RW
CD-RW
Juan Pena Dec 15, 2007, 08:19am EST Reply - Quote - Report Abuse
Send Message - Add to Buddy List  
>> Re: what makes a CD selfstart?
Hello all. One more question.

I wnat the autorun file to point to an exe file in a subdirectory. The autorun file in in the dir directory. Which of the following, if any, would do the trick?

shellexecute=\subdir

=\dir\subdir

=d:\dir\subdir

As always, many thanks in advance.

Asus A8N-E
Amd Athlon 64 3500+ @2300
2gb DDR 400
160 gb , 120 gb
DVD +/-RW
CD-RW
DublinGunner Dec 15, 2007, 08:50am EST Reply - Quote - Report Abuse
Send Message - Add to Buddy List  
>> Re: what makes a CD selfstart?
I believe the first option you wrote should work


shellexecute= /subdir/myfile

E6400 L628 @3.4
Thermalright Ultra 120 Extreme
Abit Quad GT
2GB Team Xtreem DDR2-850 4 4 3 10
Leadtek 8800GT 512
OCZ GameXstream

Write a Reply >>


 

    
 
 

  Topic Tools 
 
RSS UpdatesRSS Updates
 

  Related Articles 
 
 

  Newsletter 
 
A weekly newsletter featuring an editorial and a roundup of the latest articles, news and other interesting topics.

Please enter your email address below and click Subscribe.