passing password in command line?
I have the following batch.bat file:
And as you might imagine the password fails to pass :'(
I tried using variables in batch but it fails
1) Is there any way for me to actually pass the password?
2) Also any idea how I can also force a change of a local directory?
Any tips, tricks, links, suggestions are much appreciated ;)
Thank you all...
start winscp380.exe sftp://user51:12#$56&*@wwwstage.nydc.site2.prv:22/usr/local/www/staging/
And as you might imagine the password fails to pass :'(
I tried using variables in batch but it fails
set pass="12#$56" start winscp380.exe sftp://user51:%pass%@wwwstage.nydc.site2.prv:22/usr/local/www/staging/
1) Is there any way for me to actually pass the password?
2) Also any idea how I can also force a change of a local directory?
Any tips, tricks, links, suggestions are much appreciated ;)
Thank you all...