Archive: A question how to use ExecWait


A question how to use ExecWait
Say $1 = "test.exe", $2 = "my.txt",

$2 is parameter of $1 and then I want to call ExecWait to execute $1.
I tried to use ExecWait '$1 $2' but it doesn't work. I wonder what is correct way to use ExecWait in this case. Thanks.


Originally posted by JohnChen
Say $1 = "test.exe", $2 = "my.txt",

$2 is parameter of $1 and then I want to call ExecWait to execute $1.
I tried to use ExecWait '$1 $2' but it doesn't work. I wonder what is correct way to use ExecWait in this case. Thanks.
Never mind. I already figured out. ExecWait '"1" "2"'. Thanks.