Depois de fazer uma tentativa e erro, recebi a resposta:
winscp.com /command "open scp://uname:[email protected]" "put C:\Users\%username%\Desktop\%filename-case% /var/shared/data/dump/" "exit"
Aqui está o script em lote completo:
@echo off
cd\
color 0a
cls
title Copying File to Dump
set /p filename-case=Enter the name of the directory:
cls
cd C:\Program Files (x86)\WinSCP
winscp.com /command "open scp://uname:[email protected]" "put C:\Users\%username%\Desktop\%filename-case% /var/shared/data/dump/" "exit"
msg * Directory %filename-case% Copied OK !!!
exit
exit