Line Text: MZ error from #Include C:\KeePass\KeePass.exe

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Ggirf14
Posts: 9
Joined: 23 Jul 2018, 12:23

Line Text: MZ error from #Include C:\KeePass\KeePass.exe

11 Dec 2018, 09:20

From the following:

#Include C:\KeePass\KeePass.exe
#NoTrayIcon

SetWorkingDir %A_ScriptDir%
Run, C:\KeePass\KeePass.exe,,,KeepassPID


I get no error compiling but running the compiled exe I get

Error at line 1.
This line does not contain a recognized action.
The program will exit.


How can I include an exe to be launched later in my script?
Ggirf14
Posts: 9
Joined: 23 Jul 2018, 12:23

Re: Line Text: MZ error from #Include C:\KeePass\KeePass.exe

13 Dec 2018, 08:12

I'm trying to hide the exe being launched.
FileInstall would make it visible.
just me
Posts: 9458
Joined: 02 Oct 2013, 08:51
Location: Germany

Re: Line Text: MZ error from #Include C:\KeePass\KeePass.exe

13 Dec 2018, 11:57

Ggirf14 wrote:I'm trying to hide the exe being launched.
Why?

In any case you cannot #Include real .exe files.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: filipemb and 302 guests