title: How to copy files to computers from list?
body: <p>I try to copy files from a specific network location to many computers from list and check if destination exists before copying.</p>
  
  <p>This is for company's manual updating software files. It is already tested and working, but needs fine tuning.</p>
  
  <pre><code>For /F "usebackq tokens=*" %%a in ("C:\Test\PCList.txt") Do (
      IF Exist "\\%%a\%Target32%" (robocopy "%source32%" "\\%%a\%Target32%" /tbd /s /is /ndl /nfl /log+:"%logdir%\%%a_x86_%date:~10,4%.%date:~7,2%.%date:~4,2%.log"
      ) Else IF Exist "\\%%a\%Target64%" (robocopy "%source64%" "\\%%a\%Target64%" /tbd /s /is /ndl /nfl /log+:"%logdir%\%%a_x64_%date:~10,4%.%date:~7,2%.%date:~4,2%.log"
          ) Else END
      )
  </code></pre>
  
  <p>I expect to find one target but I want to check if both target exist and copy also.</p>