Windows 7 中的 System32 文件夹 [英] System32 folder in windows 7
问题描述
我在 XP 32 位操作系统中使用此代码来获取 %windir%windowssystem32
文件夹路径.
I'm using this code in XP 32-bit OS to get the %windir%windowssystem32
folder path.
sysFolderPath = Environment.GetFolderPath(Environment.SpecialFolder.System)
我想知道的是,在 Windows 7(64/32 位)中使用时,相同的代码是否会返回 %windir%windowssyswow64
文件夹?
What I want to know is that will this same code return the %windir%windowssyswow64
folder when used in Windows 7 (64/32-bit)?
推荐答案
即使在 64 位版本的 Windows 上运行的 32 位程序中,它也会返回 c:windowssystem32.不要不要修复这个,它不需要修复.因为当您使用该路径时,Windows 会自动将其重新映射到 c:windowssyswow64.文件系统重定向器负责处理.
It will return c:windowssystem32, even in a 32-bit program that runs on the 64-bit version of Windows. Do not fix this, it doesn't need fixing. Because when you use that path, Windows will automatically remap it to c:windowssyswow64. The file system redirector takes care of it.
这篇关于Windows 7 中的 System32 文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!