Insert results from xp_Fixeddrives into a temp table as such:
CREATE TABLE #DriveTable (Drive CHAR(1), [MB Free] int)
INSERT INTO #DriveTable
EXEC master..xp_fixeddrives
SELECT *
FROM #DriveTable
DROP TABLE #DriveTable
Now, use t-sql to query the temp table and build the message string that you will pass into the net send command in xp_cmdshell.
John Rowan
======================================================
======================================================
Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden