Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off && cls
- SETLOCAL ENABLEDELAYEDEXPANSION
- set /a i=1
- REM set /a i+=i
- REM echo !i!
- REM echo %i%
- for /f "skip=27 tokens=2 delims==" %%G in ('wmic cpu list /format') do (
- rem echo !i!
- if !i! == 1 (
- ECHO.
- ECHO.
- ECHO.
- echo ==============================================================
- echo CPU NAME IS: %%G
- echo ==============================================================
- )
- set /a i+=1
- )
- echo PRESS ANY KEY TO EXIT^^!
- pause >nul
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement