Click to See Complete Forum and Search --> : Javascript to detect CDROM drive letter
Iain MacInnes
09-03-2003, 05:54 AM
Hello,
I require a piece of javascript that can detect the letter designated for the CDROM drive (i.e. "D:").
Any help would be greatly appreciated
Cheers,
Iain MacInnes
Scotland
Iain MacInnes
09-03-2003, 06:08 AM
Hello Fang,
Thanks for that. Do you have any suggestions??
Cheers,
Iain....
VB, PHP, ASP should be able to delve into your system.
Iain MacInnes
09-03-2003, 07:01 AM
Thanks again.
DaveSW
09-03-2003, 07:05 AM
If you tell us why you want it maybe there's a different way? e.g. to address files loading off a cd you could use an autorun and relative links. It all depends on why you want it.
Iain MacInnes
09-03-2003, 07:49 AM
Hello Dave,
What I have are links on an html file that must run video clips located on the CD-ROM.
What I don't know is what letter the user has allocated to the CD-ROM drive. It could be anything.
I cannot copy the video clips into the install directory as they are 600 Mb in total.
The video clips are actually tuition clips for the bagpipes!!
Cheers,
Iain......
bigal
09-03-2003, 08:39 AM
May i say one thing ;)
If you want a html file to open video clips on a cd, then where is the html file going to be, (on the cd,web,harddrive already) Because if its on the cd, you dont need anything, you just link as normal.
If its on the harddrive, you cant use php plus you would have to get it there, web would just be HARD, not impossiable but HARD!
Easiest to have it on the disk already! :cool: