• Generally I'd have to create the file by echoing the contents....

    My current script to get hard drive space is fine, except for the lack of delimiters in the numbers:

    master..xp_cmdshell 'WMIC LogicalDisk Where DriveType="3" Get DeviceID,FileSystem,FreeSpace,Size'

    here is the plain text:

    master..xp_cmdshell 'WMIC LogicalDisk Where DriveType="3" Get DeviceID,FileSystem,FreeSpace,Size'

    412-977-3526 call/text