Hello,
I am trying to pipe the contents of :
wmic bios get serialnumber
and store it into a variable called %SERIAL%.
I’ve tried multiple variations of :
SET SERIAL | wmic bios get serialnumber and
SET SERIAL > wmic bios get serialnumber
but have not been able to make it work.
The final output of what I want is a file called C:\Temp\%SERIAL%.txt
with contents of the %MAC_ADDRESS%.
thanks,
Piping Contents Of Serial Number Into Variable
Share
IVO: post what displayed
Note: \n denotes CR/LF.
Basically, there’s a blank line at the end:
How To Ask Questions The Smart Way