Hi,
I have a DOS script that issues the following command :
winscp.com /command "open sftp://%environment%" "option confirm off" "put %objectname%" "exit" >> compileOut.txt
The DOS %environment% variable maps to a WinScp session that has been pre-configured in the users WinScp.ini file. They can have many pre-configured sessions, they choose one.
I would like to display a message in the DOS console to the user that says "Transferring localDirectory\objectname"
Is there any way to retrieve the localDirectory value from the chosen session so that I can display it?
Thanks
Mark