根据系统32/64位的不同,System32和Syswow64的存在,System32在不同位系统代表也不同
那么,在方便运用上,vbs代码 还有哪些写法?
比如我写了一种
作为类使用,
首先,获取Bit由判断Syswow64文件夹决定.
SysPath(32/64) 反回指定位的路径:
>32位系统下
SysPath(32) 返回 .\System32
SysPath(64) 返回 False
>64位系统下
SysPath(32) 返回 .\Syswow64
SysPath(64) 返回 .\System32
SysPath的自适应性 如果有更好的写法,不另赐教~