Link to home
Start Free TrialLog in
Avatar of chimp
chimp

asked on

CD Autorun program for PC and MAC

 I need to make a program for the PC
and MAC that will be used as an autorun for a CD.  It has to start and
Open a file using the computers default program for the file type.  Example:  A text document would open up notepad on a PC, or a html document will open up the default browser on a PC or MAC.  I am fairly new to JAVA, but thought it was probably the best solution for both platforms.  I only have MS J++ 1.1, what java compiler should I use and any help on the programming would be appreciated.

Thanks,
Avatar of Jan Louwerens
Jan Louwerens
Flag of United States of America image

I don't know about Mac, but for PC, autorun is determined by a file called "autorun.inf", not a executable file. You can specify in the autorun.inf that you want to run a particular executable if you wish. I can't remember off the top of my head the exact syntax of the autorun.inf file, but I do know that it is contained within the MSVC++ documentation
Avatar of chimp
chimp

ASKER

 Yes, I know about the autorun.inf on PC and I think on the MAC you can do something similar if it has QuickTime installed.  I am hoping for an easy solution to the actual program (exe) to use on both platforms.
OH! I see... sorry for the misunderstanding...
ASKER CERTIFIED SOLUTION
Avatar of smile
smile
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial