|FSUTIL requires admin rights, and that means it requires elevation Vista+. |
WMIC tends to fail if you're not an admin in WinXP, and its parsing tends to change from one version of Windows to the next.
That leaves DIR.
FOR /F "tokens=3" %a IN ('DIR /-c c:\ ^| FINDSTR /c:"bytes free"') DO SET free=%a
How To Ask Questions The Smart Way