我该如何在VBScript中检测Windows操作系统的位数(32位还是64位)?
我尝试了这种方法,但它并不起作用;我猜(x86)可能会导致一些问题,在检查文件夹时...
是否有其他替代方案?
progFiles="c:\program files" & "(" & "x86" & ")"
set fileSys=CreateObject("Scripting.FileSystemObject")
If fileSys.FolderExists(progFiles) Then
WScript.Echo "Folder Exists"
End If