Jump to content

Recommended Posts

Posted

Hello,
when I call a program from C: \ Windows \ System32, I get a ""file not found" if the script was compiled as x86.
The script as x64 finds the file without problems.
Unfortunately I still need the x86 version, which has to run on both systems.

Development system: Windows 10 x64

Is there a way?

Script:

If FileExists('C:\Windows\System32\ie4uinit.exe') Then
    MsgBox(0,'file check', 'Executable was found')
Else
    MsgBox(0,'file check', 'Executable was NOT found')
EndIf

Kind regards
Thomas

Posted (edited)

@Danp2

Thanks for the answer.
Unfortunately, I did not find the linked post despite searching.

The solution with Sysnative works great.

Edited by ongoro

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
×
×
  • Create New...