Scripting Difficulties
I am trying to write a script that will be used with windows scheduler that will synchronize two directories, I have changed the setup to use the .ini file, and have written this script. Which for now just sends and gets a file, however, it just pops up and asks for the host. Is there something I am doing wrong?
option batch on
option confirm off
open user:pass@servername.com
cd /export/home/
get 33.mon d:\
lcd c:\
put 22.mon
close
exit
option batch on
option confirm off
open user:pass@servername.com
cd /export/home/
get 33.mon d:\
lcd c:\
put 22.mon
close
exit