Skip to content
⌘ NSIS Forum Archive

A question how to use ExecWait

2 posts

JohnChen#

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.
JohnChen#
Originally Posted by JohnChen View Post
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.