Windows – Copy a file to multiple windows machines

copyfileswindows

How can one copy a file, from his windows computer, to a cluster of multiple windows machine, with one command?

I thought about using psexec, but that also tries to execute the file…

Best Answer

If it's always to the same targets you might want to consider a batch file using a for loop, which simplifies maintenance somewhat. The source and destination can be either coded in or passed as parameters.