Object Devices
GetDeviceByPath Methode



Description

CDRomDevice

Syntax

                  object.GetDeviceByPath(Path)

Part

Description

object

An object expression that evaluates to a Devices object

Path

Path of the CD-ROM Drive

Remarks

Example

Device = Devices.GetDeviceByPath("D:\\");   // get the CDRomDevice object for the drive with drive letter D: