Sign in to follow this  
Followers 0
mattw112

64 bit issue

3 posts in this topic

Code is simple enough

FileInstall(".\FILES\iehv\iehv.exe", @SystemDir & "\iehv.exe", 1)
ShellExecuteWait(@SystemDir & "\iehv.exe", '/stext ' & $HISTDUMP & ' -allsubfolders 1 /sort "URL"', "", "", @SW_HIDE)

But when it runs it says:

"Windows cannot find 'c:\windows\SysWOW64\iehv.exe'. Make sure you typed the name correctly, and then try again.

Should it automatically run correctly since I'm using the @SystemDir macro? Or is there something else I need to do?

Terry

Share this post


Link to post
Share on other sites



Sorry just found this:

http://www.autoitscript.com/autoit3/docs/intro/64-bit_support.htm

So how do most people deal with this? Disable redirection or just do a check for 64 bit and use the different path if found?

Terry

Share this post


Link to post
Share on other sites

Depends on what you want I guess. On Windows x64, the SysWOW64 contains the 32-bit files, while System32 contains the 64-bit files. If you want to use \Windows\System32 on both 32 and 64 bit you could use both options ofcourse (disable redirection or use @WinDir & "\System32")

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0