If you like making temp files, sure. Plus, you'd still need to write a function that parses out what you returned from that file. If you're going to use wmic, why not use pipecom to eliminate the temp file?
Code: (Select All)
Option _Explicit
$Console:Only
Print pipecom_lite("wmic logicaldisk get Name,Description,Size")
'$Include:'pipecomqb64.bm'
Schuwatch!
Yes, it's me. Now shut up.
Yes, it's me. Now shut up.