I've created a nice little Batch file which works like a dream. I'm bascially connecting to a machine remotely and zipping up a log file and then copying it locally. Pretty simple stuff (even though it took me weeks).
My question is, can I copy 1 source file to 2 destinations.
I've got this
copy \\%machine%\D$\tmi\mfws\logs\newlog.zip "c:\new\logs\"
which works fine, but I cannot add this,
copy \\%machine%\D$\tmi\mfws\logs\newlog.zip "c:\new\logs\" + "z:\logs1"
I've tried a number of varriations however I cannot seem to copy to more than 1 destination. Help as ever is appreciated.