Using a batch file to create folder and copy files into it to multiple PC's

Posted by Greg on Stack Overflow See other posts from Stack Overflow or by Greg
Published on 2010-05-20T13:48:57Z Indexed on 2010/05/20 13:50 UTC
Read the original article Hit count: 325

Filed under:
|

Hi,

I have a folder with numerous files that I need to copy to multiple PC's on a network. I thought if the folder didn't exist it would automatically create it. Here's what I have...

copy "C:\Documents and Settings\follag\Desktop\Music" "\PC NAME\c$\Documents and Settings\All Users\Desktop\Music"

When I look at the destinatin PC, it is not creating the folder and copying the files. I'm new to this whole batch files and would appreciate any help.

Thanks,

Greg

© Stack Overflow or respective owner

Related posts about Windows

Related posts about batch