I am trying to create a script on Windows which when run on an admin PC:
Why for? What do you want to iterate? Try this.
for
call :cpy pc-name-1 call :cpy pc-name-2 ... :cpy net use \\%1\{destfolder} {password} /user:{username} copy {file} \\%1\{destfolder} goto :EOF