Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Disk Activity
#2
Function Function
Code:
Copy      Help
ARRAY(Wsh.Drive) a; int i j; str s
GetDrives a
for i 0 a.len
,s=a[i].DriveLetter
,if(a[i].IsReady)
,,j=a[i].AvailableSpace/1024/1024 ;;free space available to the current user
,,out "%s free space=%i MB" s j
,else out "%s not ready" s


its in qm help


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)