Richard,
Now the new version works fine, I use ".\%%s" parameter to specify the script filename.

Thanks!
Tan