dos下通过wmic命令查看硬盘和内存/CPU信息(windows自带命令查看硬件

2019-09-19 06:44:12丽君

Available Physical Memory: 3,790 MB
Page File: Max Size:       5,968 MB
Page File: Available:      5,844 MB
Page File: In Use:         124 MB
Page File Location(s):     C:pagefile.sys
Domain:                    WORKGROUP
Logon Server:              WIN669
Hotfix(s):                 309 Hotfix(s) Installed.
                           [01]: File 1
                           [02]: File 1
                           [03]: File 1
Network Card(s):           1 NIC(s) Installed.
                           [01]: Intel(R) PRO/1000 EB Network Connection with I/O Acceleration
                                 Connection Name: Local Area Connection 4
                                 DHCP Enabled:    No
                                 IP address(es)

从任务列表中找到需要的进程

tasklist | findstr /s /i e.*
tasklist | findstr /s /i "python"

切换目录
cd /d D:/
dir
start D盘中的文件夹即可打开文件夹
tasklist/svc 就可以看到计算机当前正在运行程序

相关文章 大家在看