mo ba
mo ba

Reputation: 195

32-bit VB script can't run directly in 64-bit windows 7

Is there anyway to make \SysWoW64\cscript.exe the default windows 7 64-bit interpreter for VB Script?currently when simply I double click on my VBS, it seems to be run with \System32\cscript.exe and as it is based on 32bit DLL it doesn't run successfully, however when I run it with \SysWoW64\cscript.exe through the command prompt, it works perfectly.

Upvotes: 1

Views: 3927

Answers (1)

matan7890
matan7890

Reputation: 548

Try to change in the properties of the file to run by default with \SysWoW64\cscript.exe

Upvotes: 1

Related Questions