cross-platform 'AutoRun"

there are really 2 levels to this question:
first, for 100 points is:
on a CD or data DVD, is there a way to execute an AutoRun on either Windoze or Apple, so a PDF will execute?
(i would need a little "hand-holding" with regard to "getting" the file.  like help actually getting it and using it)

the second part, for a different 100 points is:
is there a script (or exe, bat, etc.) file that i can get to TEST which environment i'm in, and execute the appropriate file (win.exe if in Windoze or apple.exe if in Apple)?
(again, i would need a little "hand-holding" with regard to "getting" the file.  like help actually getting it and using it)
thanks,
mac
LVL 4
MacRenaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Eoin OSullivanConsultantCommented:
On Windows CDs .. you use autorun.inf files
On OSX it is a bit different ..

See this article for most of your answers
http://www.phdcc.com/shellrun/autorun.htm

http://www.macdisk.com/macimgen.php3
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MacRenaAuthor Commented:
ok, so it look like
The autostart feature was silently dropped under Mac OS X......
On the Macintosh, the autostart/autorun feature is not implemented as a program or as a script launching an application (like the autorun.inf file under Windows). The autorun can be supported by any file (even data files). The princip is that the Finder does on the designated file the same as if the user had clicked on the icon (of a program, of an alias/shortcut or of a data file).
The autostart feature has been available since the release of QuickTime 2.0. Therefore, strictly speaking, this is not a feature of the operating system but of a higher layer.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Swift Programming

From novice to tech pro — start learning today.