---
title: "windows的CMD命令"
author: "yeelor"
date: "2011-05-27T18:49:21Z"
tags: ["Windows"]
categories: ["操作系统"]
slug: "windows-cmd"
draft: false
lastmod: "2013-07-02T09:39:57Z"
id: 1062131
url: "https://yeelor.iteye.com/blog/1062131"
---

按shift 键  鼠标右键打开会有在当前目录打开CMD

 

msinfo32  系统信息

 

msconfig  启动项

 

gpedit.msc  注册表中的配置

 

tracert（跟踪路由） 如　tracert[](http://www.j2cms.com)

 

 

1、查询本机所有端口信息

netstat -ano

2、查询结果中过滤某个端口

netstat -aon|findstr "8080"

3、查看进程信息

tasklist|findstr   进程号

4、结束进程

tskill 进程号

taskkill /pid 进程号 /F

 

 

命令格式：ntsd -c q -p pid

 

[http://hi.baidu.com/76845738/item/0e840156efa9e5ddd58bac6c](http://hi.baidu.com/76845738/item/0e840156efa9e5ddd58bac6c)