in a world where the sun always shines on the bloody tv!!
Posts
604
mutlisession cds and Autorun.inf
i am making a cd for some of my friends and it has to be multisession, one session audio the other data, but which session is burnt on to the cd first so that when you put the cd in a cd player the first track that plays isn't blank ??
and for the autorun.inf i know that i need something like
[AUTORUN}
index.html
but how do i make it run the index.html i am sure that i need something more than that
cheers
Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
-- Linus Torvalds
For the autorun part, you will have to make a small program that will load the html file using shellexecute. I got some code from someone on this site for a C++ project that will load an HTML file. I'll attach it, but it won't do you much good if you don't have C++.
There is a compiled EXE in the release folder that will load index.html from the CD.
For the multisession... if you use a good program like Nero, I think you are able to choose whether it is read as an audio CD or as a data CD. I haven't been able to make it work as an audio CD on the first track, but I haven't really put much thought into it. I know that it is possible though because the HyperCDs that you can buy let you play the first track.
Last edited by MidgetsBro; May 28th, 2002 at 05:47 PM.
Originally posted by HarryW You don't need C code to open it. Just write a batch file:
Code:
start index.html
That should work fine in Windows.
I liked my C++ program better. It makes it more professional looking, and when I burned it I used ResHack to change the icon of the program so it looks good when you look at the icon for the CD-ROM in My Computer.
I use AutoPlayMenu, or something like that (can't remember the name as I don't have installed at the moment ), it's pretty easy to use, and I know there's a cracked version floating about, because I have it
in a world where the sun always shines on the bloody tv!!
Posts
604
Originally posted by Sastraxi To find out more about the autorun.inf file and it's capabilities, take a gander over at http://msdn.microsoft.com/library/de...play_cmds.asp. You can add icons, shellexecute, among other things.
your link doesn't seem to work ?? not sure why ??
Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
-- Linus Torvalds