[Javascript] CD-Rom detection.....

Peter Brunone peter at brunone.com
Wed Feb 13 13:37:10 CST 2002


    You're not gonna do that on the client unless you have a java or ActiveX
object in the browser.  You might be able to pull it off with VBScript and
really low security settings in IE, but otherwise scripting alone is just
too limited.

Regards,

Peter

----- Original Message -----
From: "Victor Craven" <victor.craven at 10to1productions.com>
To: <javascript at LaTech.edu>
Sent: Wednesday, February 13, 2002 12:51 PM
Subject: [Javascript] CD-Rom detection.....


| I would like to use JavaScript to detect whether a valid CD-Rom is
| inserted.
|
| 1) Query PC to establish the letter of one or more CD-Rom players
| attached.
|
| 2) Query each CD-Rom player attached to establish if a certain CD-Rom
| is inserted by it's "label" string value.
|
| Any ideas?
|
| Regards,
|
| Vic :)




More information about the Javascript mailing list