MikeS Posted December 24, 2006 Posted December 24, 2006 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
AutoChris Posted December 24, 2006 Posted December 24, 2006 (edited) Run("C:\winaudit.exe /r=gos /o=PDF", "", @SW_HIDE) Edited December 24, 2006 by SerialKiller
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now