I agree with this solution abc. I was able to make my script work using this method. But I am more interested in knowing how the parameter passing works in such a scenario.
All, Background: I have a batch script that has an sftp command in it that's supposed to log in to a server and pull a file. The set of commands to be executed on the server are consolidated in a command file and this file is used in the sftp command as the input parameter. Issue: The file to be pul...