Forum Discussion
YMinaev
Staff
15 years agoHi Anders,
You can check drive type by using the DriveType property.
Here is an example (avoiding remote drives):
You can check drive type by using the DriveType property.
Here is an example (avoiding remote drives):
function DriveTypeExample;
var i, colDrives: OleVariant;
begin
colDrives := aqFileSystem.Drives;
for i := 0 to colDrives.Count-1 do
begin
if colDrives.Item(i).DriveType <> 4 then
Log.Message(ColDrives.Item(i).DriveLetter);
end;
end;