Putting a Web site on a CD

May 1, 2009 at 05:06:16
Specs: Windows XP
Hi all,

I'm looking to put a website on to a CD. This is the easy part and it is done. Apart from the index page all the rest of the website is in a folder called "web".

Is it possible to hide the folder named web on the CD so the user can only open the file named index?

If not does anybody know were to find some free program that will make the CD act like a game CD (or similar) so that as soon as the user double clicks on the CD in my computer it opens the index page rather than going in to the folder directory?

Any help is much appreciated.


See More: Putting a Web site on a CD

Report •

May 1, 2009 at 14:02:36
If you've already written the cd, then I don't think you can change the attribute bits. If you have an open session, then you might be able to change the web folder to hidden, but I'm not sure... I'd suspect that you'd have to copy the contents to a hard drive, set the attribute to hidden, and then write the cd again.

As far as making a stub, it isn't easy to create autorun for non executable files. The easiest method I know of is creating a VB program using shellexec to spawn the default web browser and pass the index file as a parameter.

I don't know if it will help you or not, but here's a link to creating autorun cds... there's also a link to a program called autorun pro, which is supposed to the same thing. I've never used the program so I couldn't say how well it works.

Either way, you're possibly going to need to create another cdr if you've already made one.


My work in progress. I hate JS. :P

Report •

May 1, 2009 at 16:43:01
You would have to hide the folder before making the cd. Also on a side note if the user uses this cd on say a mac they will see the folder. It will only be hidden on a Microsoft operating system.

Hire a Geek - Computer Help

Report •

May 2, 2009 at 14:38:14
Thanks for the info. Will look into the autorun link. Making the files hidden on the c drive and then burning them on to a CD does not work. That is how I have the first CD.

Thanks also for the info on the Mac. Never though about that.

If anybody can offer further info it will be much appreciated also and thanks again to shutat & hireageek.


Report •

Related Solutions

Ask Question