+3  A: 

If you have control over running the cscript executable then run the X:\windows\syswow64\cscript.exe version which is the 32bit implementation.

tyranid
Thanks a lot, it worked. :)
Peter
+4  A: 

follow http://support.microsoft.com/kb/896456

To start a 32-bit command prompt, follow these steps:

* Click Start, click Run, type %windir%\SysWoW64\cmd.exe, and then click OK.

Then type

cscript vbscriptfile.vbs
volody
Thanks a lot, it worked. :) Didn't know SysWoW64 contained a 32-bit command prompt, why is it named "SysWoW64" anyway?
Peter
WoW stands for Windows on Windows. It's a compatibility layer that makes 64-bit Windows act like 32-bit Windows so it can run 32-bit programs.
Tmdean
Very helpful and interesting, I didn't know that. Always nice to get closer to understanding the inner workings of Windows, thanks a lot.
Peter