Posts

Building a System Info Viewer in Batch: A Beginner's Guide

Image
  A batch program that displays various system information, such as CPU and memory usage, disk space, network status, and more. This can be done using various built-in commands and utilities, such as systeminfo , tasklist , netstat , and wmic . A System Info Viewer batch program that displays various system information: @echo off   echo *** System Information Viewer ***   echo.   echo === Operating System === systeminfo | findstr /B /C:"OS Name" /C:"OS Version" /C:"System Type"   echo.   echo === Processor === wmic cpu get name, caption, architecture, maxclockspeed, currentclockspeed, numberofcores, numberoflogicalprocessors   echo.   echo === Memory === wmic MEMORYCHIP get BankLabel, Capacity, Speed   echo.   echo === Storage === wmic diskdrive get caption, size, interfacetype   echo.   echo === Network === ipconfig   step...