Jump to content

Add exe file to autoit script


Recommended Posts

Is there any way to add an executable to an autoit executable file? in other words, lets say I write a program that by pushing a button it will use psexec, promptme for the ip address I want to connect to and all that stuff; however, I would have to have the psexec.exe file at the remote machin in order for my script to work. My qestion is, is there any way to add or bind that psexec.exe (internally) to my autoit script so that when I execute My script at the remote machine and I press the button, it will automatically unload that psexec.exe file and use to do what was made to do.

I don;t want to use a binder since most of them are flagged as viruses. I could put psexec.exe in the same folder as the autoit script (.exe file); however, I would like to have a single file to do what I want and not 2 files.

Is there any way to put psexec.exe internally in my script (lets say as a function "kinda") so that when I compile my script it takes my code and the psexec executable and is able to use it at the remote computer without having to have that psexec file already att he remote machine?

I am sorry for this dumb question, I just can;t find a way to do it besides using a binder, but once again the antivirus will flag it as a virus

Link to comment
Share on other sites

Welcome here,

Use FileInstall()

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

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...