Need some help writing a script to copy a folder (with sub contents) to multiple remote machines.
i have done it for files but how do you to it for folders help!!
@Rem simple copy script for Windows Command Interpreter (cmd.exe) @echo Read in each hostname entry in the file hostnames.txt amd copy the local file to the c$ of each hostname
FOR /F %%i in (hostnames.txt) do copy name.bmp \\%%i\"c$\Program Files\"