From: Ilan on
This because you run 32 bit on 64 where the folder redirection fails
use %windir%\SysWoW64\cmd.exe then run your script
You can configure a batch file to run using above method

---
frmsrcurl: http://msgroups.net/microsoft.public.scripting.vbscript/ODBC-Connect-error-in-Script-Host-Version-5.8