Jump to content

Start an embedded Exe file with Parameters


Recommended Posts

Hi,

with the Resources.au3 UDF File it is possible to use embedded files without extracting them to an temporary folder.

How can i start an embedded Exe file with parameters ?

I tried

#AutoIt3Wrapper_Res_File_Add=test.exe, Test,0

run (Test & " parameters")

What is wrong ??

Sorry, by posting this messages the server showed an internal error. now this posting existis 3 times

Edited by badzox
Link to comment
Share on other sites

Hi,

exe is not supported I guess.

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

How can i start an embedded Exe file with parameters ?

you cannot do this. the only way to do is fileinstall, or write an embedded HEX string, then write binary to a file

there is a reason why exe files cannot be embedded and started Internally!!. use internal functions or dll calls if you want to use something internal

Link to comment
Share on other sites

I can confirm that it's not possible to start new EXE process directly from memory. It's Windows limitation.

You can use FileInstall() or _ResourceSaveToFile() from my resources UDF which has the same effect - creates file on disk.

Then use Run() with disk saved EXE file and finally delete EXE file (after process finishes).

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...