Computing.Net > Forums > Programming > cd root path

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

cd root path

Reply to Message Icon

Name: stevenrh
Date: April 12, 2004 at 12:15:38 Pacific
OS: win32
CPU/Ram: i386
Comment:

hi all.

is there a comparable path to the cdrom, which is generic/universal, such as %systemroot%. thanks



Sponsored Link
Ads by Google

Response Number 1
Name: wiredsj
Date: April 12, 2004 at 13:45:44 Pacific
Reply:

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


0

Response Number 2
Name: stevenrh
Date: April 13, 2004 at 13:22:07 Pacific
Reply:

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


0

Response Number 3
Name: wiredsj
Date: April 14, 2004 at 11:44:33 Pacific
Reply:

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



0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

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


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: cd root path

Add path to registry with variable www.computing.net/answers/programming/add-path-to-registry-with-variable/15732.html

Copy files from cd with .bat file www.computing.net/answers/programming/copy-files-from-cd-with-bat-file/16112.html

Autorun menu exe www.computing.net/answers/programming/autorun-menu-exe/7541.html