Advertisement
ivandrofly

Untitled

Nov 3rd, 2013
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. @echo off && cls
  2. SETLOCAL ENABLEDELAYEDEXPANSION
  3. set /a i=1
  4. REM set /a i+=i
  5. REM echo !i!
  6. REM echo %i%
  7.  
  8. for /f "skip=27 tokens=2 delims==" %%G in ('wmic cpu list /format') do (
  9. rem echo !i!
  10. if !i! == 1 (
  11. ECHO.
  12. ECHO.
  13. ECHO.
  14. echo ==============================================================
  15. echo CPU NAME IS: %%G
  16. echo ==============================================================
  17. )
  18. set /a i+=1
  19. )
  20. echo PRESS ANY KEY TO EXIT^^!
  21. pause >nul
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement