Created
October 10, 2012 09:04
-
-
Save nemf/3864244 to your computer and use it in GitHub Desktop.
serial get
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
for /F "skip=1 delims=" %%j in ('wmic bios get serialnumber') do ( | |
set SERIAL=%%j | |
goto :DONE | |
) | |
:DONE | |
echo %SERIAL% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment