Discussion Locked

Autorun and CD-Rom drives?

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Is there a way to tell the AUTORUN.INF file on a CD-ROM to launch content only from the CD-ROM and not try to go to the internet to display the files?

The reason I ask is that I've saved a website to the CD-ROM and have configured the AUTORUN.INFto open IE and display the index.htm file. But when I insert the CD-ROM it tries to get the real-live internet version instead of the saved copy on the disc.

Also is there a way to tell the AUTORUN.INF that the CD-ROM might not be drive "D" but possible drive "E"? Thanks so much...

3 replies

by timthetoolman

Hi,

If you look inside the files from the site you've downloaded from the web you'll probably find URLs to the internet (ie. "http://www.somewhere/somefile.html") rather than "C:\blah".

If the filenames are "relative" then that will be ok, butat some point you've been shoved off to the internet and relative from there means...well still on the net!

I'm not sure whether you could use environment variables in the inf file, but you could try.

Is it necessary? If all the HTML files on your CD use relative paths, you wont need to refer to the Drive letter.

Of course you may want to do something tricky...

Hope this helps

Cheers,
Tim.

This discussion is closed to new replies.