Passing parameters to a shell command
Posted: Sun Feb 22, 2009 10:38 am
I've created me a little Autoit script that runs like this:
goologin.exe username password
Works a treat from the command line, however I'm trying to run it from RunRev:
But I get back an error saying "Windows cannot find 'c:\launcher\goologin.exe username password'. "
The path is correct so I'm guessing I'm using the shell command incorrectly?
goologin.exe username password
Works a treat from the command line, however I'm trying to run it from RunRev:
Code: Select all
on mouseUp
put "start '' 'c:\launcher\goologin.exe username password'" into myShell
replace "'" with quote in myShell
get shell(myShell)
end mouseUp
The path is correct so I'm guessing I'm using the shell command incorrectly?