Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
hi all.
is there a comparable path to the cdrom, which is generic/universal, such as %systemroot%. thanks

steve,
I don't beleive so as i tried to find out the same thing for over a year. I ended up finding a great little program that may solve your problem though. That is if you're trying to find a way to write a CD which will launch a certain file within a certain program simply by inserting the CD.
It's a program called BrowseCall which is a supplement to autorun.inf. You get your autorun to start BrowserCall where you can define which file or program you want to launch.
Don't ben fooled by the name "BrowserCall" as it's not only good for opening a certain HTML file in a browser even though that's what i beleive it was written for and that's primarily what i use it for. It can be used to trigger any file to open any program on your PC assuming that program is installed on your PC.
If this is what you're looking for you can get it (it's freeware) at:
http://www.ashzfall.com/products/autorun/browsercall.html
good luck,
wired

thanks wired.
I do have that, but what I want to do (and maybe i'm not thinking of all the details) is set the autorun to pull up an html doc with links to the cd rom. my issue is that not all cdroms are d: , and i'm not sure what the path would be without the letter remaining constant.
thanks again for the reply wired.
steven

Steven,
Maybe i'm missing something but if you have that program and the links are from the same CD that you're triggering then all you need to do is relative paths from the "index.html" file and won't have to worry about absolute links to various drive letters. Since BrowserCall has already found your "index.html" page on the root of your CD all other links to the CD can be relative to the root (index.html).
(ie. Instead of linking to "D:\page2.html" just link to "page2.html" if it's also on the root of the CD.)
Hope i understood you correctly. Good luck.
ciao,
wired

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |