Valid on Symbian OS and Windows
The GetDrive function returns the current drive number: 1 for A, 2 for B, 3 for C, and so on.
Function format:
GetDrive() as Integer
The function returns the current drive number: 1 for A, 2 for B, 3 for C, and so on.
Example:
Dim drive AS Integer
drive = GetDrive()
Print("Current drive is : " + Str( drive ) )
Print("Current drive Size : " + Str( GetDiskSize( drive )) )
Print("Current drive Free : " + Str( GetDiskFree( drive )) )
Print("Current drive Usage: " + Str( GetDiskUsage( drive )) )
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|