This is a script I created for checking the amount of free space
on our servers at work. With most of our servers still being server 2003,
and dell having set the drive c partion to 12gigs, they fill up
just through doing updates, and if you put any programs at all on the
server (such as wsus). This script will also e-mail you if drive c gets
below 1gig worth of free space (if you set some of the variables at the
top).
drv-space.bat
note: if you do want it to e-mail you you will need a copy of
blat.exe put into a folder, and you set the blatexe variable in the bat
file to where you put blat.exe
blat is avilable at http://www.blat.net