Guest h8er Posted May 15, 2004 Posted May 15, 2004 Hi i'm a newbie of AutoIt v3.... I have a problem... i want to run a Windows process and pass parameters through the script... the process is an antivirus (F-prot)... it has some cool command line parameters... example: i want to pass through command line the file to scan.. so where can i put $CmdLine[x] command into the Run command ??? i've tried something like Run("FP-Win.exe" & $CmdLine[1], "", @SW_MINIMIZE) but doesn't work... thx for the help
lte5000 Posted May 15, 2004 Posted May 15, 2004 (edited) Do you mean: 1.You want to pass a parameter to the AutoIt script and then pass that parameter to F-Prot when you launch it from the script? Then do what Larry said.2.Or do you want to simply pass a parameter to F-Prot from within the running AutoIt script. If you mean #2 then just do:Run("FP-Win.exe myparameter")Kendall Edited May 15, 2004 by lte5000
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