Yes.
-- Create temp table to hold the xp_cmdshell results
IF OBJECT_ID('tempdb..#tbl1', 'TABLE') IS NOT NULL
DROP TABLE #tbl1
CREATE TABLE #tbl1 (Idx INT IDENTITY(1, 1), Txt NVARCHAR(4000))
INSERT INTO #tbl1 (Txt)
EXEC xp_cmdshell 'ver'
INSERT INTO #tbl1 (Txt)
EXEC xp_cmdshell 'vol'
SELECT * FROM #tbl1
Enjoy. PS- if you're using this in SQL2K5 you have to enable xp_cmdshell. This can be done by running
EXEC sp_configure 'xp_cmdshell', 1
RECONFIGURE WITH OVERRIDE