can't synchronize both while @echo off
Hello,
I created 2 sripts
first:
second:
and crated task in scheduler to run first script every 10 minutes. Every 10 minutes i see prompt window hiding, propably from first script. but when I refresh remote folder-nothing changes.
I had to delete @echo off from second file to get this working properly, but this window is quite annoynig.
My OS is Windows 10 Edu
I created 2 sripts
first:
@echo off winscp.com /script=sync.bat
@echo off open sftp://username:password@host.com synchronize both c:\local /home/remote exit
and crated task in scheduler to run first script every 10 minutes. Every 10 minutes i see prompt window hiding, propably from first script. but when I refresh remote folder-nothing changes.
I had to delete @echo off from second file to get this working properly, but this window is quite annoynig.
My OS is Windows 10 Edu