Hi all
I'm trying to get a script to work on a 64-bit machine, basically at work we have several scripts we need to run which update information in Access databases, and as more and more machines are running x64 I want to be able to update the scripts so they work on this environment. Problem is nobody (including me!) knows anything about scripting.
I wasn't going to let that stop me though
so I found this this link
When I initially tried running it, it failed giving the error Line: 1 Char: 50 Error: Expected end of statement. The 50th character in line1 for me is a semicolon, changing it to a colon seemed to get the script to run further, so I guess this may have helped?!
I'm now stuck on line 4, I get the error below:
My line 4 currently reads:
if(host.indexOf("system32") != -1 && cpu == "amd64")
Help!
I'm trying to get a script to work on a 64-bit machine, basically at work we have several scripts we need to run which update information in Access databases, and as more and more machines are running x64 I want to be able to update the scripts so they work on this environment. Problem is nobody (including me!) knows anything about scripting.
I wasn't going to let that stop me though

When I initially tried running it, it failed giving the error Line: 1 Char: 50 Error: Expected end of statement. The 50th character in line1 for me is a semicolon, changing it to a colon seemed to get the script to run further, so I guess this may have helped?!
I'm now stuck on line 4, I get the error below:

My line 4 currently reads:
if(host.indexOf("system32") != -1 && cpu == "amd64")
Help!
Last edited: