Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Disk Activity
#1
Is there any way to GetDiskUsage for a specific disk drive?
#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
#3
GetDiskUsage doesnt get the amount of space left on the hard disk.
it gets the disk usage, not sure if drive can be specified.
#4
I'm wanting disk activity (not space) for individual drives.
#5
Performance counters
#6
very nice. thanks gint


Forum Jump:


Users browsing this thread: 2 Guest(s)