Radimus:

Er, no, I haven't. Not that I would know what to do with it if I did, though. If you hadn't noticed I don't really know what I'm doing. I take scripts other people have done and modify them, if I can, to my own ends (Script Pirate?). If I can't modify it then I ask for help. But, thanks for the pointer; I'll file it away.

Anyhoo, I got your bit of code to do what I want (assuming it lists all local partitions, which I can't test yet):
code:
$name=	split(wmiquery("name","win32_logicalDisk",,"DriveType","3"),"|")
$fs= split(wmiquery("filesystem","win32_logicalDisk",,"DriveType","3"),"|")
$size= split(wmiquery("size","win32_logicalDisk",,"DriveType","3"),"|")
$fsp= split(wmiquery("freespace","win32_logicalDisk",,"DriveType","3"),"|")

if open (1,"s:\computing\scripts\wksta\" + @wksta + "_testdr.txt",5) = 0
for $loop=0 to ubound($name)
? @wksta + chr(9) + $name[$loop] + chr(9) + $fs[$loop] + chr(9) + $size[$loop] + chr(9) + $fsp[$loop]
writeline(1, @wksta + chr(9) + $name[$loop] + chr(9) + $fs[$loop] + chr(9) + $size[$loop] + chr(9) + $fsp[$loop] + chr(13) + chr(10))
next
close(1)
endif

So, see, I learn a bit from the things folks here show me. The responses in this thread have been a great help.