Jump to content
Sign in to follow this  

Using Autoit and the Run statement

Recommended Posts


I'd like to get this to work, but I'm having trouble with passing the parameters.

Here is the code that works:

run (@scriptDir & "\batch.bat","", @SW_HIDE

Now what I'v done is in place of the batch file. I thought there is a way to also pass parameters too.

Batch file Statements:

WinAudit.exe /r=gos /o=PDF

So here is my final statement, but it does not work, so what I'm I doing wrong?

Also how can I replace the @scriptDir, with a C:\ or C:

run (@scriptDir & "\winaudit.exe", "/r=gos /o=PDF", @SW_HIDE)



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  

  • Create New...