Posted: 2017-02-22 12:36
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?
Location: Prague, Czechia
Posted: 2017-02-27 12:54
You can post new topics in this forum
And it's free!