However, whilst testing this on my Windows 7 64-bit notebook, I found that the code I use to display the amount of free space in the virtual volume did not work. The code I used was this (simplified):
WMIC.EXE LogicalDisk Where DeviceID="C:" Get DeviceID,FileSystem,FreeSpace /Format:csv
It turns out that the /Format:csv part was causing the problem and generating the error message:
Invalid XSL format (or) file name.
By Googling I found that this switch only works on en-US locale systems! Nice one Microsoft - not everyone in the world lives in the US! Still not fixed by a Windows 7 update!