In VBScript on Windows RT, a running script only has access to three COM objects, one of which is Scripting.FileSystemObject.
How can I use only FileSystemObject to determine the operating system's processor architecture (in this case, it is ARM)?
Normally I would query HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment -> PROCESSOR_ARCHITECTURE, or I would use WScript.Shell to get the system-level environment variable PROCESSOR_ARCHITECTURE. However, I cannot use the usual techniques in this situation.
Note: I thought about using Scripting.FileSystemObject to get the file version of ntoskrnl.exe, which would tell me that I'm on Windows version 6.3. And then after trying to create a WScript.Shell object and failing, making the assumption that I must be on an ARM Windows RT device. However, this feels very sloppy. It's been a while, but I have seen situations where antivirus interferes with the ability to instantiate objects in VBScript, and I want this code to be accurate/reliable.