Automate a 'Y' when Prompt by: (Y)es, (N)o, C(a)ncel, (C)opy
I sometimes have to upload a file from my Windows computer to a bunch of our Unix servers. I use the the following syntax to do this: "c:\Program Files\WinSCP\winscp.com" /command "open ""USERID:PASSWORD@HOSTNAME/var/tmp""" "put ""c:\temp\FILE.tar.gz" "exit"
I'm prompt for each winscp command with, '(Y)es, (N)o, C(a)ncel, (C)opy' in DOS on my Windows computer. Is there a way in the winscp.com command line I can have it default to -> Y ?
Thanks
I'm prompt for each winscp command with, '(Y)es, (N)o, C(a)ncel, (C)opy' in DOS on my Windows computer. Is there a way in the winscp.com command line I can have it default to -> Y ?
Thanks