Ask Experts Questions for FREE Help !
Ask
    Pothole's Avatar
    Pothole Posts: 1, Reputation: 1
    New Member
     
    #1

    Mar 10, 2008, 09:11 PM
    Single file copy to same directory on multiple machines - XP
    Hi.

    I'd like to use any copy command (PSexec, Robocopy, copy, xcopy) to copy a SINGLE file to the same location on MULTIPLE machines using XP.

    e.g.
    XCopy TEST.txt \\MACHINE1\C:\MyDir
    XCopy TEST.txt \\MACHINE2\C:\MyDir
    XCopy TEST.txt \\MACHINE3\C:\MyDir
    Cxopy TEST.txt \\MACHINE4\C:\MyDir

    Anyone have a sample batch file or utility to do this?

    Cheers
    WallyHelps's Avatar
    WallyHelps Posts: 1,018, Reputation: 136
    Ultra Member
     
    #2

    Mar 11, 2008, 11:26 AM
    You might try this from the command line (or bat file):
    For %i in (MACHINE1 MACHINE2 MACHINE3 MACHINE4) do xcopy TEST.txt \\%i\C:\MyDir

    Hope this helps!
    WallyH

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

Save directory listing to .txt file [ 11 Answers ]

This is kind of part2 to a question long closed. I played with software to do this but did not like the registry changes it made. I'm using WinXP I dug up an old email with "instructions" but cryptic ones to my pea-brain: Me: "Can you remind me how to save a directory listing to file?"...

How can I change the file directory for vids on my phone [ 1 Answers ]

That about sums it up, really. I take vids on my phone, sony ericsson walkman thingy and it saves them as 3gp files. Can I change the setting? I'm not very bright. I am 94 years old. Please help. Ta marcoski - moved from forum help -

Two washing machines, single standpipe drain [ 1 Answers ]

Does anyone have any suggestions on how to connect two washing machines to a single standpipe drain without having to manually pull one drain hose out, and putting in the other each time? Both machines will not be running at the same time (this is for a two-family house) so I don't have to worry...

XPHome: How to turn a directory listing into a text file. [ 8 Answers ]

I've got a folder of 4000 files. I'd like to convert the directory of them into a text file to show someone. How I do that? Thanks!


View more questions Search