in reply to Re^4: Execute wmic command in cmdin thread Execute wmic command in cmd
"now im trying to put the results in a variable ..."
BrowserUK gave you that here.