Jump to content
Sign in to follow this  

Help with C:\windows\system32 file detection

Recommended Posts


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 ****
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
;Autoit3 Ver
If FileExists("C:\windows\system32\alg.exe") Then
    MsgBox(4096, "", "Exists")
    MsgBox(4096, "", "Does NOT exist")

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.