Jump to content

...


stuka
 Share

Recommended Posts

Just to clarify are you asking, to look at a given directory and then copy any and all exe files to another given directory.

Then look at the destination directory and execute any exe file that is located in it?

This should be possible. But am unsure if this is what you mean

Link to comment
Share on other sites

Mmm...something like that, but without addressing the exact file name. Even if a file's original name of 'app.exe' is changed to 'bpp.exe', it can still be copied and run by another compiled script.

As in wildcard? But I don't want to run just any .exe.

if the program you want to run is a script...use a temporary file or a a registry value where the program write the next name and directory; and the other scipt read the value and run the program...

Link to comment
Share on other sites

  • Moderators

Generally you can accomplish something like this with it's checksum value.

Edit:

Let me iterate this... You would either need to check the entire drive for the correct checksum and then run it when you found it, or you would need to document the change somewhere. Checking the entire drive for it, would probably take a while :) but if you never know what it is going to be named or where it will be, may be your only alternative.

Edited by SmOke_N

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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