sftp -b doesn't read the batchfile

Several of our end-users need to send a file to our insurance carrier using ssh and sftp. We've put together a Windows VBS script that opens the ssh tunnel and calls sftp with the -b option pointing to a batch script in the same directory, however sftp doesn't seems to be reading from the batchfile. There are no error messages, and once we have the sftp prompt we can manually run the lcd, cd and put commands to transfer the file. Is there another option that needs to be added to the sftp command in addition to the -b option to get it to read from the batch script? The full sftp command is:

sftp -oIdentityFile=c:\openssh\userkeys\SSHkey -oPort=999 sshuser@localhost -bsend_files.srp"

send_files.srp is something like this:

lcd J:\path\to\outgoing
cd /path/to/incoming
put file.dat
quit

We're using OpenSSH do do the transfer.

kmw

easy...put the -b option at the *beginning* of the sftp command line:

sftp -bsend_files.srp -oIdentityFile=c:\openssh\userkeys\SSHkey -oPort=999 sshuser@localhost -bsend_files.srp"