mattw112 Posted March 1, 2010 Share Posted March 1, 2010 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 Link to comment Share on other sites More sharing options...
mattw112 Posted March 1, 2010 Author Share Posted March 1, 2010 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 Link to comment Share on other sites More sharing options...
dani Posted March 1, 2010 Share Posted March 1, 2010 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") Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now