Jump to content

Just starting, trouble with Run command


Recommended Posts

I am looking into using Autoit to do thousands of inputs to another program.

Run("C:\sst\ETrans.exe") Gives me run time error 53, file not found.

What is strange is that If I get rid of"C:\sst\ "

Run("ETrans.exe")

I get a different error:

line 28 (File"C:\Program Files\Autoit3\Examples\Etrans.au3"):

Run("ETrans.exe")

Error: Unable to execute the external program.

The System cannot find the file specified.

The program ETrans runs fine from the windows start button run command line if I cut and paste the same "C:\sst\ETrans.exe"

any ideas would be great, this program looks like it will save me fomlots of tedeous clicking.

thanks in advance

rc

Link to comment
Share on other sites

HI,

try using _RunDOS() or have a look at @comspec in the helpfile.

So long,

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

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