# Running under Windows 64-bit Edition

AutoIt is a 32-bit application, so running under a Windows 64-Bit edition will access by default file and registry compatible information.

For Files, Windows has a special redirection mechanism for some system directories :

Directories | 32-bit Value | 64-Bit Value
@SystemDir | @windowsdir & "\SYSWOW64" | @windowsdir & "\System32"
@ProgramFilesDir | @SystemDrive & "\Program Files(x86)" | @systemDrive & "\Program Files"

It is possible to access the 64-bit version of those directories by disabling the redirection mechanism.

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

Some more information can be found at MSDN.

For registry, use HKCR64 or HKLM64 to bypass the redirection mechanism see Registry Functions documentation.

To know if you are running under a 64-Bit Edition use @ProcessorArch macro.