Jump to content

Recommended Posts

Posted (edited)

Hello,

I added some files to an array and now i want to check the syntax of them.

In Cmd you can say if you are in the autoit3 directory: "au3check file.au3" and it will return the result.

Is it possible to run cmd with this parameters with autoit?

Because i want to check every file and i want to get out the result with stdoutread.

greetz

Edit: Well, but there is the problem. I don't know how to call it with the parameters muttley

Edited by aquila
Posted

$cmd = Run(@ComSpec & '/c C:\Programme\Autoit3\au3check.exe C:\test.au3', "", @SW_SHOW)
MsgBox(0, "", StdoutRead($cmd))

So, why doesn't it work? Can someone make it correctly?

Posted (edited)

@Edit: (Left out the StdOutRead stuff)

See zorphnog's post

Edited by Skruge

[font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font]

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
×
×
  • Create New...