6
Contributors
7
Replies
8
Views
6 Years
Discussion Span
Last Post by nalawar
0

it depends on what system - try to type help in the prompt, and then you will get a list of possible commands for your particular version of OS

0

The OS info is shown at the top of the CMD prompt window when you open it.

Processor information is available from the command in the c:\ line below and shows the caption info below it.


C:\>wmic cpu get caption
Caption
x86 Family 6 Model 37 Stepping 2
x86 Family 6 Model 37 Stepping 2
x86 Family 6 Model 37 Stepping 2
x86 Family 6 Model 37 Stepping 2

C:\>

This output, in example, shows 4 processors of x86 architecture.

Process information is available using system environment variables. The environment variables related to CPU are listed below.

PROCESSOR_ARCHITECTURE
PROCESSOR_IDENTIFIER
PROCESSOR_LEVEL
PROCESSOR_REVISION

The values of these environment variables can be retrieved using echo command.

Ex:

C:\>echo %PROCESSOR_ARCHITECTURE% %PROCESSOR_IDENTIFIER% %PROCESSOR_LEVEL% %PROCESSOR_REVISION%
x86 x86 Family 6 Model 37 Stepping 2, GenuineIntel 6 2502

C:\>

0

if you only need the information regarding OS, then type:
systeminfo | find "OS"

for the processor:

systeminfo | find "Processor"

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.