Code: Select all
Set mainmenu=h
:Hardawre Profile
IF EXIST %crc% ( ECHO Running Hardware Profiling Script...
(
WMIC BASEBOARD
WMIC BIOS
WMIC CPU
WMIC MEMORYCHIP
WMIC MEMPHYSICAL
WMIC CDROM
WMIC PRINTER
WMIC OS
WMIC NIC
WMIC SOUNDDEV
) > %hp% & CALL %hp% & GOTO %h% ) ELSE ECHO %dde% & PAUSE & GOTO %h%
Code: Select all
wmic get
i have deduced the disorganization in the output file to column headers and columns content being different lengths, i however have no idea how to address that issue.
another idea for addressing this problem was to use the
Code: Select all
systeminfo
Code: Select all
systeminfo
Code: Select all
wmic
Code: Select all
wmic get
Code: Select all
%crc%
Code: Select all
%dde%
Code: Select all
%h%