display processor info in ms-dos

Im not sure if you can help, but if you can't then i do know who can.

Im trying to write a batch script to show processor/cpu infomation.

Im running Windows XP with ms-dos 5.1

can any one help???
irwellsAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

dfxdeimosCommented:
Does the "set" command work for you?
0
TVT_BILGISAYAR_4448884Commented:
>"set PROCESSOR_IDENTIFIER"is enough i think
for Microsoft Windows XP [Version 5.1.2600]
0
Lee W, MVPTechnology and Business Process AdvisorCommented:
Exactly what information are you looking for?  Usage?  Make/Model?  

By the way, MS-DOS does not exist in XP.  You are simply using a command line.  DOS died in Win9x.
0
Build an E-Commerce Site with Angular 5

Learn how to build an E-Commerce site with Angular 5, a JavaScript framework used by developers to build web, desktop, and mobile applications.

irwellsAuthor Commented:
Im looking to write a batch script that will show processor information; make & model and the speed it is running.
0
dfxdeimosCommented:
0
Lee W, MVPTechnology and Business Process AdvisorCommented:
Look into WMIC - which is a command line tool to access Windows Management Instrumentation (WMI) which will give you many details about many components of the system.  The following link includes examples for getting the information you are asking for and dumping it to a htm (html) file.

http://technet.microsoft.com/en-us/library/bb742610.aspx

Just google WMI for more information on What WMI can do (I've used it to script the checking of disk space on 50 servers in a few seconds and for obtaining network settings as well).
0
t0t0Commented:
also check out the environment variables:

PROCESSOR_ARCHITECTURE
PROCESSOR_IDENTIFIER
0
irwellsAuthor Commented:
Ok guys, I think we are going on the wrong track. I'm looking for a batch script that will display the  cpu usage just like the Task manager/performance  does but in the dos command line.

Im using windows XP/Dos 5.1 command interface.

This is my last hope. can some one help ......please.
0
Lee W, MVPTechnology and Business Process AdvisorCommented:
So which is it?
"I'm looking to write a batch script that will show processor information; make & model and the speed it is running."

Or

"I'm looking for a batch script that will display the  cpu usage just like the Task manager/performance  does but in the dos command line"

Task manager does not display make and model of the CPU or the MHz of the processor which is what you FIRST asked for.

To get the overall CPU utilization in a command prompt, you can use "WMIC CPU GET LoadPercentage"
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
irwellsAuthor Commented:
cool, thats just what ill looking for. I now have a script that can show make/model and speed. with "wmic cpu loadpercentage" I can now show the cpu usage too. Many thanks
0
Lee W, MVPTechnology and Business Process AdvisorCommented:
So if it's "just what ill looking for", why the B grade?
0
t0t0Commented:
well done leew and well said...
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft DOS

From novice to tech pro — start learning today.