Make Sure Run Script under 32-bit cscript.exe or wscript.exe when 32-bit COM object is required.
February 13, 2013
exception handling, implementation, javascript, programming languages, tricks, vbscript, windows, windows scripting host
5 Comments
On 64-bit Windows, we have two different sets of Window Scripting Host (WSH), 32-bit or 64-bit. The defaults are located at C:\Windows\System32, where cscript.exe or wscript.exe (with GUI, e.g. …