Jump to content

commandline


gamer1
 Share

Recommended Posts

Hi!

I'm wondering how to run a single script line without a script?

Saw this feature was added in version 2.60 (14/05/2001) on this page here (use find /c).

Well the /c commandline switch doesn't seem to work for me with AutoIt3.exe

For example how do I run this single script line without a script?:

IniWrite("C:\boot.ini","boot loader","timeout","4")

Autoit3.exe /c "WinWait, Untitled - Notepad" - like the example doesn't work.

Thanks!

Edited by gamer1
Link to comment
Share on other sites

v2 and v3 are two completely different languages, so looking at the changelog for v2 when you're

using v3 is just...stupid. If you had taken a look at the v3-history instead you would've found out

that "/C" was changed to "/AutoIt3ExecuteLine" some time ago.

Edited by Helge
Link to comment
Share on other sites

Senile and too slow:

"C:\Program Files\AutoIt3\AutoIt3.exe" /AutoIt3ExecuteLine "MsgBox(0, '','')"

it took me that long to test it out :-)

Edit - but I did take the time to install the latest prod version before testing/posting :-)

Edited by herewasplato

[size="1"][font="Arial"].[u].[/u][/font][/size]

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