Solved Running systeminfo from a batch file

November 15, 2019 at 12:02:38
Specs: Windows 10, Intel I7 quad core
systeminfo is a great little tool for finding out information about your OS. Normally you would open a command prompt and type in

systeminfo

Is there a way to run this from a batch file?


See More: Running systeminfo from a batch file

Reply ↓  Report •

#1
November 15, 2019 at 12:58:47
Give a try for this batch :

@echo off
Mode 60,3 & Color 0A & CHCP 65001>nul
Title systeminfo
echo(
echo   Please wait a while loading information from system ...
systeminfo > "%userprofile%\desktop\infosys.txt" 2>&1
start "" "%userprofile%\desktop\infosys.txt"

message edited by Hackoo


Reply ↓  Report •

#2
November 15, 2019 at 14:38:25
Thanks for helping Hackoo.

It created the sysinfo.txt file but it doesn't automaticaly run and the txt file is empty.


Reply ↓  Report •

#3
November 15, 2019 at 15:08:53
✔ Best Answer
Did you want to save results in a txt file or not ?
@echo off
systeminfo
systeminfo > "%userprofile%\desktop\infosys.txt"
start "" "%userprofile%\desktop\infosys.txt"


Reply ↓  Report •

Related Solutions

#4
November 16, 2019 at 09:31:30
Perfect, thank you!




Reply ↓  Report •

#5
November 18, 2019 at 00:58:51
@THX 1138 Please don't forget If this solve your question, you should mark it as Solved !
Thank you !

Reply ↓  Report •

Ask Question