virtualdrives GetTargetByDrive method
Return to Introduction  Previous page  Next page
Applies to
dcVirtualDrives component.  

Declaration
function GetTargetByDrive(Drive: Char): String;  

Description
The GetTargetByDrive method returns the target directory of the virtual drive, specified in the Drive parameter.  

Example
DiskZTarget := GetTargetByDrive('Z');  

See also
AddDrive and DeleteDrive methods;  
Drive, Target and VirtualDrives properties.  
File not found.