Jump to content

Recommended Posts

Posted

Hello,

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)

Thanks,

Mike

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...