无法在 Win 7 Prof 上以 64 位模式运行 CMD [英] Unable to run CMD in 64 bit mode on Win 7 Prof
问题描述
我已经完成了我的功课,老实说,并尝试了我能想到的一切,但似乎每次打开 CMD 时,我都会得到 32 位版本,无论我从哪里打开它.我试过了:
I have done my homework, honest, and tried everything I can think of but it seems that every time I open CMD I get the 32bit version, regardless of where I open it from. I have tried:
- Windows start orb -> CMD -> enter
- 输入C:WindowsSystem32cmd.exe"
- 输入C:WindowsSysWOW64cmd.exe"
在每种情况下,我都使用管理员权限运行它,并且关闭了 UAC.我可以说它始终是 32 位的,因为在任何情况下我都无法运行 nbstat.exe(我希望从 32 位命令行中获得).
In each case I am running it with Admin rights and I have UAC turned off. I can tell it's always 32 bit as I am unable in any case to run nbstat.exe (which I would expect from a 32 bit command line).
我一直在使用 Process Explorer,两个版本都是同一 csrss.exe 实例下的节点,这对我来说不太合适.
I have been into Process Explorer and both version are nodes under the same instance of csrss.exe which doesn't feel right to me.
有什么想法吗?
推荐答案
查看进程是 64 位还是 32 位启动的最简单方法是转到任务管理器的进程选项卡,将显示 32 位 CMD如cmd.exe *32
.
The easiest way to see if a process launches 64- or 32-bit is to go to the process tab of the task manager, a 32 bit CMD will show as cmd.exe *32
.
启动 64 位 CMD 的一种方法是使用我的电脑"并双击 C:WindowsSystem32cmd.exe
.
One way to launch a 64-bit CMD is to just use "My Computer" and double click C:WindowsSystem32cmd.exe
.
启动 32 位 CMD 的一种方法是执行相同操作,但双击 C:WindowsSysWOW64cmd.exe
.
One way to launch a 32-bit CMD is to do the same but double click C:WindowsSysWOW64cmd.exe
.
有点奇怪的观察;似乎如果您从 32 位 CMD 启动 64 位 CMD,它也会以 32 位启动.这可能就是为什么您总是看到 32 位版本出现的原因.Explorer 是 64 位进程,可以在 64 位模式下启动 CMD.
Slightly odd observation; it seems that if you launch the 64-bit CMD from a 32-bit one, it will also launch as 32-bit. That may be why you're seeing the 32-bit version show up all the time. Explorer is a 64-bit process and can launch CMD in 64-bit mode.
这篇关于无法在 Win 7 Prof 上以 64 位模式运行 CMD的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!