无法杀死 Win XP 上的 cmd.exe 实例 [英] Unable to kill instances of cmd.exe on Win XP

查看:35
本文介绍了无法杀死 Win XP 上的 cmd.exe 实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我调试 Windows 控制台应用程序时会弹出一个新的命令提示符,并且在应用程序完成时它不会消失.我必须打开很多(实际上是 18 个),这很烦人.

以下没有帮助:

  1. 按命令提示符右上角的X"按钮.

  2. 转到任务管理器并杀死 cmd.exe.

  3. kill/pskill 命令等

我知道最后的办法是重启机器.但我想避免这种情况.有选择吗?提前致谢.

解决方案

您是否有机会使用 Visual Studio 2005 或 2008?

特定的 Windows 修补程序存在/曾经存在导致此类行为的问题,并且已经有关于此问题的线程:

调试的程序窗口不会关闭

http://blogs.msdn.com/b/debugger/archive/2010/03/11/help-my-console-windows-won-t-go-away.aspx>

http:///social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/e6d4a4f5-7002-401a-90e1-6174d7f9e3ca

现已提供修复程序,可从此 Microsoft 知识库文章下载:

http://support.microsoft.com/kb/982551

A new command prompt pops up when I debug a windows console application and it doesn't go away when application finishes. I have to plenty (in fact 18) of them open and it is annoying.

The following doesn't help:

  1. Pressing "X" button on top right of command prompt.

  2. Go to task manager and kill the cmd.exe.

  3. kill/pskill commands etc.

I know the last resort would be to reboot the machine. But I want to avoid that. Is there a option? Thanks in advance.

解决方案

Are you using Visual Studio 2005 or 2008 by any chance?

There are/were issues with a specific Windows hotfix that causes this sort of behavior, and there have been threads about this issue:

Debugged Program Window Won't Close

http://blogs.msdn.com/b/debugger/archive/2010/03/11/help-my-console-windows-won-t-go-away.aspx

http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/e6d4a4f5-7002-401a-90e1-6174d7f9e3ca

A fix is available now, and can be downloaded from this Microsoft Knowledge Base article:

http://support.microsoft.com/kb/982551

这篇关于无法杀死 Win XP 上的 cmd.exe 实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆