I am executing a vbs on 2 machines (both 64 bit machines). On both the machines, 64 bit MySQL ODBC driver is installed. In the vbs, there is code to connect to MySQL DB and perform some actions.
In 1 machine, it is getting executed when I type following in cmd window: C:\Windows\SysWoW64\cscript.exe //NoLogo filepath\xyz.vbs
whereas in other machine, it is getting executed when I type following in cmd window: C:\Windows\System32\cscript.exe //NoLogo filepath\xyz.vbs
Please help me understand the behavior.
Shouldn't the below code be executed in both the machines as both the machines are 64 bit and also ODBC drivers installed are 64 bit: C:\Windows\System32\cscript.exe //NoLogo filepath\xyz.vbs