Jump to content

problems with run and variables


 Share

Recommended Posts

I get an error with run($CmdLine[1])

I know the command line is ok because MsgBox(4096, $CmdLine[1], $CmdLine[1], 20) shows the correct text.

I get AutoIt Error

Line 0 (file "c:\path\CompiledAutoItScript.exe)"):

run($CmdLine[1])

Error: Unable to execute the external program.

Link to comment
Share on other sites

Surely $CmdLine[1] is just a command line parameter to your program and not a program in its own right.

Edited by BigDod


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

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