Re: Cant add Exit command after finishing script
Thank you very much, it worked!
"put ""C:\FTP\ClientsInvoicesEDI\carasso\out\*.*"" ""/""" ^
"put C:\FTP\ClientsInvoicesEDI\carasso\out\*.* /" ^
^
but what it does is create a file with the name of ^
.
put
line:
"put "C:\FTP\ClientsInvoicesEDI\carasso\out\*.*" "/" ^
@echo off
path=%path%;"C:\Program Files (x86)\WinSCP"
winscp.com /command ^
"open sftp://mpines:@DIsystem20@sftp.carasso.co.il/" ^
"put "C:\FTP\ClientsInvoicesEDI\carasso\out\*.*" "/"
"exit"
start MoveCarassoFiles.bat
pause