PDA

View Full Version : Just a quick opening


coastie13
08-19-2007, 10:08 AM
:o Hi all !

I would like to just have something that when I put in a CD it will auto play to the PDF file and open it. I have a book I made. I would like to put it on CD. When I put the CD in my machine or in any machine I would like for it to open up the PDF file, thats it, no opening screens and so on. I tried to find a place I can do that but I'm not haveing any luck.

Can someone please help me find my way!:huh



Coastie13

FoxLeader
08-19-2007, 11:41 AM
Hello,

You just have to do an "autorun.inf" like the following:


[autorun]
icon=MYICON.ico
open=shelexec .\BOOK.pdf
shell\verb\command=shelexec .\BOOK.pdf
shell\verb="BOOK TITLE"


So copy this in Notepad, then save it as "autorun.inf" on the root of your CD.
Then, adapt it:
-Replace MYICON.ico by the path (relative to autorun.inf) to the icon that will be shown for the CD (replaces temporarily the CD drive icon).
-BOOK.pdf should be replaced by the relative path to your PDF file
-BOOK TITLE should be replaced by the name of your book; it will appear when the user right-click on the drive.

All that was found in Google in about half a second. Google is your friend ;)

FoxLeader