vbscript and 16 bit error
My vbscript so far had never a problem. And then suddenly (suspect windows updates) i had a problem launching a simple vbscript that exectutes a external command in hidden mode on some computer running windows 7 64 bit.
I simple execute a batch file in hidden mode with the following vbscript hidden.vbs:
CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False
i launch: q:\bin\sgv\onlogin\hidden.vbs q:\bin\sgv\onlogin\onlogin.cmd
The script give me the error (german)
"Nicht unterstützte 16 bit - Anwendung
Das Programm bzw. die Funktion "\??c:\windows\system32\wscript.exe" kann aufgrund einer Inkompatibilität mit 64 Bit-Versionen von Windows nicht gestartet ... werden"
Translating in english:
unsupported 16 bit - app
the program or function \\??c:\windows\system32\wscript.exe can't be executed ... because of incompatibility with 64-bit versions
Any idea ?