I had created some script templates for code reusing. The basis template created are working well.
However, as the demands get more complicated. I found that I'll need to pass switches in as parameter to do filtering. Somehow when I try to do that, I am encountering errors. When I hard code the switches in the script template, it's working.
Following is a working sample template:
option batch abort
option confirm off
option transfer binary
open %1% -privatekey="%2%" -hostkey="%3%"
get -filemask=*>1D "%5%" "%4%"
Pls advice how can I change the switches to accept parameter. Is it possible in the first place?