Access CD-ROM drive (with name other than D:\ )

G

Guest

Is there any way to set up a %systemroot% type wildcard for CD-ROM drive letters? I am trying to set up a file to open from the CD-ROM Drive which is often default of D:\ but I know that people may have multiple CD-ROM drives and D:\ might not be their default.

I am working on a CD that I would like to hardcode to have them open up D:\FOLDER\FILE.EXE but now I have it set up to open up \FOLDER\FILE.EXE in an attempt for it to be on the "D:\" Drive by default and its path is going to search for the FOLDER and then in that folder search for the EXE named FILE.
I wonder if I hard code a path to open the file from the CD-ROM, people with say an E:\ drive for their CD-ROM will not be able to use it

Is there a way to have any wildcard for CD-ROM drivers that can help me?

Thank you

Matthew Carter
 
B

Bob I

The \folder\prog is just fine. If a "wildcard" was used how would it
"know" which CD-rom drive to pick? Many times there is more than one!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top