diskinfo Disk property
Example
Return to Introduction  Previous page  Next page
Applies to
dcDiskInfo component.  

Declaration
property Disk: Char;  

Description
The Disk property specifies the disk letter and read the information about specified drive to provide other properties with according values.  
 
Disk letter is the character that identifies the drive in the user's system. For example, disk A is the floppy drive, C is the system disk and so forth. To read information about floppy drive "A:" - assign 'a' character to Disk property. See an example which demonstrates how to deteminate letter of CD-ROM drive and read the information about CD.  

See also
AvailableDrives property.