Sign in to follow this  
Followers 0
CHAFF

Help with C:\windows\system32 file detection

3 posts in this topic

Hi all

Has anyone else encountered this failing with #AutoIt3Wrapper_UseX64=n ? But works with #AutoIt3Wrapper_UseX64=y

Of course alg.exe can be any existing file in system32.

Posted Image

#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_UseX64=n
#AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
;Autoit3 Ver 3.3.8.0
If FileExists("C:\windows\system32\alg.exe") Then
    MsgBox(4096, "", "Exists")
Else
    MsgBox(4096, "", "Does NOT exist")
EndIf

Share this post


Link to post
Share on other sites



ahhh Thanks Spiff59 that explains

DllCall("kernel32.dll", "int", "Wow64DisableWow64FsRedirection", "int", 1)

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