Code:
{
  var %drives = CDEFGHIJKLMNOPQRSTUVWXYZ , %count = 1
  while ($mid(%drives,%count,1)) {
    var %current = $mid(%drives,%count,1)
    if ($disk(%current).type == fixed) {
      var %hdinfo = $iif(%hdinfo,%hdinfo 3|) 3[14 $+ %current $+ 3:14 $+ $upper($left($disk(%current).label,1)) $+ $lower($right($disk(%current).label,-1)) $+ 3]: $gettok($bytes($calc($disk(%current).size - $disk(%current).free),m),1,46) $+ 3/ $+ $gettok($bytes($disk(%current).size,m),1,46) 3( $+ $round($calc((($disk(%current).size - $disk(%current).free) / $disk(%current).size) * 100),2) $+ $chr(37) $+ 3) 3( $+ $doqstatsbar($int($calc((($disk(%current).size - $disk(%current).free) / $disk(%current).size) * 100)),14) $+ 3)
    }
    inc %count
  }
  return %hdinfo
}


this is the code I use... it searches through all your local drives but skips cd-rom and network drives (aswell as A+B which are reserved for disk stations)

PS: it shows used / total, instead of free / total btw...


If it ain't broken, don't fix it!