Sign in to follow this  
Followers 0
aquila

Cmd Syntax Check

5 posts in this topic

#1 ·  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

Share this post


Link to post
Share on other sites



You can call the program, yes. It works just like any other program.

Share this post


Link to post
Share on other sites

$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?

Share this post


Link to post
Share on other sites

#4 ·  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]

Share this post


Link to post
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
Sign in to follow this  
Followers 0