更新时间:2022-04-16 02:26:51
要从32位cmd.exe启动64位cmd.exe,您必须能够访问 c:\Windows\ System32
文件夹,而不会重定向到 c:\Windows\SysWow64
文件夹。在Win2008中,您可以通过访问 c:\Windows\Sysnative
路径来实现。不幸的是,在Win2003上需要一个修补程序(请参见 http://support.microsoft.com/kb/942589 )。
To launch 64-bit cmd.exe from 32-bit cmd.exe you must be able to access c:\Windows\System32
folder without being redirected to c:\Windows\SysWow64
folder. In Win2008 you can achieve this by accessing c:\Windows\Sysnative
path. Unfortunately on Win2003 a hotfix is required (see http://support.microsoft.com/kb/942589).
有一种解决方法-您可以创建一个NTFS交接点,该交接点直接指向 c:\Windows\System32
文件夹并使用到该交接点的路径,而不是 c:\Windows\System32
。使用系统内部的 junction.exe ,我设法从32位cmd.exe创建了这样的连接点并启动64位cmd.exe。
There is a workaround - you can create an NTFS junction point that directs to c:\Windows\System32
folder and use path to that junction point instead of c:\Windows\System32
. Using System Internals' junction.exe I managed to create such a junction point from 32-bit cmd.exe and launch 64-bit cmd.exe.